We Connect Things To The Internet... That Can't Be Plugged In.
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
News:
mcCloud is coming soon!!!!
Home
Search
Login
Register
mc-Products
»
mc-Module
»
Build Failure Message "Internal Error Instr Type*1024"
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Build Failure Message "Internal Error Instr Type*1024" (Read 522 times)
Nick_W
Full Member
Posts: 215
Build Failure Message "Internal Error Instr Type*1024"
«
on:
August 23, 2016, 12:27:45 pm »
I have a completed BME280 Library, which shows no errors in mcStudio, but fails to bulid with the error "Internal Error Instr Type*1024".
I'm not sure what this is - is it a memory error (the library is quite big)?
Thanks,
Logged
mc-John
Global Moderator
Full Member
Posts: 212
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #1
on:
August 23, 2016, 02:38:20 pm »
I doubt that it is too big but i can debug it if you send the project (all files) in a zip file so I can debug it.
Logged
Nick_W
Full Member
Posts: 215
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #2
on:
August 23, 2016, 03:25:50 pm »
You'd be surprised....
I find it will build if I remove some Sub/Functions, but it doesn't matter which (just enough).
Project is attached. I really hope it's a bug of mine....
Logged
mc-John
Global Moderator
Full Member
Posts: 212
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #3
on:
August 23, 2016, 05:51:26 pm »
It is a bug in displaying the code. As you know every time you build (or run) a *.lst file is created. During the creation of the list the instruction JumpSubr interprets the instruction incorrectly. The reason that this error shows up is because your program is really big. The VM has Jump instructions and Branch instructions. Branch instructions are single word (16 bit) instructions that can jump to code if that is not more than 1024 instruction away. Jump instructions can jump to anywhere in the program.
There is no simple work-around. I will fix this as soon as possible and we will post the new version this week. This version will also have the ability the manual or automatic compile.
Logged
Nick_W
Full Member
Posts: 215
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #4
on:
August 23, 2016, 06:09:38 pm »
Thank you!
I will await the new version.
In the meantime I'm working on a door sensor, so I'm building an accelerometer library (based on the Alpha version you posted somewhere). Hopefully that won't get too big...
I have a TSL 2561 Light Sensor I'm also planning on trying - maybe I need more modules...
Logged
kristofferis
Sr. Member
Posts: 287
Location: Sweden
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #5
on:
August 24, 2016, 12:16:34 am »
Do you have any plans to release the libraries on GitHub?
Then it's very easy for multiple users to request updates and help to improve the library and also keep track of current issues.
Logged
Nick_W
Full Member
Posts: 215
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #6
on:
August 24, 2016, 12:24:18 am »
I can do,
Didn't know if you were planning a library section here, but Github is fine.
Logged
kristofferis
Sr. Member
Posts: 287
Location: Sweden
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #7
on:
August 24, 2016, 12:28:02 am »
There will be a solution for that but I don't think that is on the priority list, at least not in the top
GitHub is a good start point and I like your initiative to create libraries, good work.
Logged
helge
Newbie
Posts: 27
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #8
on:
August 24, 2016, 02:14:26 am »
I've done the TSL2561 already. Not 100% complete and ported from the android version.
Logged
kristofferis
Sr. Member
Posts: 287
Location: Sweden
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #9
on:
August 24, 2016, 02:37:14 am »
That's great, will that also be added to GitHub so that we share what we have made.
Not a problem if it's not complete, other users could push changes and complete the code if you like.
Logged
helge
Newbie
Posts: 27
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #10
on:
August 24, 2016, 07:03:24 am »
@kristofferis sure, I'll share the code here. But it was done before the mc-Things platform was declared proprietary instead of open source. Therefor I'm considering leaving this platform and will not develop this any further. Therefor github would be inappropriate.
Logged
Nick_W
Full Member
Posts: 215
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #11
on:
August 24, 2016, 07:08:52 am »
Well I would find it useful, save me some effort with the Light sensor. While I wait for the new release, I'll get back to the MMA8652FC.
I usually don't like posting things on github until they are complete (and they are never complete). But I'll post what I have when it works.
Logged
kristofferis
Sr. Member
Posts: 287
Location: Sweden
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #12
on:
August 24, 2016, 07:21:04 am »
@helge I understand, thanks for sharing.
I do not use GitHub very much, but I use git to my locally hosted gitserver.
And there I have a lot of unfinished codes but it is also private so not many people that have access to those repositories.
I guess its better to have a working code on GitHub and then later add new features and solve issues.
Logged
mc-Abe
Full Member
Posts: 167
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #13
on:
August 24, 2016, 11:30:51 am »
We have created a GitGub repository for collaborations. Please use forks of
https://github.com/mcThings/mcScript.git
to collaborate on scripts.
Logged
Nick_W
Full Member
Posts: 215
Re: Build Failure Message "Internal Error Instr Type*1024"
«
Reply #14
on:
August 25, 2016, 12:16:59 pm »
Any news on the new build?
I'm constantly running into this error now....
Logged
Print
Pages: [
1
]
2
« previous
next »
mc-Products
»
mc-Module
»
Build Failure Message "Internal Error Instr Type*1024"