[C.CC USERS] FOUND IT, was Re: Qs re occPlug's "Arduino" target and "Upload Firmware". *apologies; newb*
Matt Jadud
matt at jadud.com
Mon Jan 24 16:24:10 GMT 2011
On Mon, Jan 24, 2011 at 11:05, Michael M. Butler <mmbutler at gmail.com> wrote:
> TVM_BYTECODE_ADDR was set to 0x4F00 for the latter, 0x5000 for the former.
Ooh. That's an oversight on my part; yes, the firmware now looks to
address 0x4F00 for all the 328-based platforms. That would do it.
> Changed the setting in the arduino.conf file to 0x5000. Reloaded the
> firmware. Recompiled. Uploaded heartbeat.occ.
The next update will fix that, thus overwriting your local fix.
However, it will overwrite it with exactly the same thing.
> I am watching the occam pi heartbeat blink as I type this.
Woot. I do that for days at a time. Kills my productivity.
Cheers,
Matt
> PS: how firmly-set is that 0x5000 bytecode addr? Can it be nudged at all?
It's a compile-time constant for the firmware. That is, the
interpreter, at start, must know where to look for the bytecode. There
are other things we could do, but they all have tradeoffs. If you have
thoughts/reasons for wanting it to be different, do say so. However,
that discussion might be better on the developer's list (developers@).
More information about the users
mailing list