Hi,
I've been in the process of porting tinyos 1.1.15 to run on fleck3bs.
Part of what I want to port is the Deluge code. I've been able to get
programs running without Deluge. I've been able to get Deluge running up
to the point of formatting flash, inserting DelugeBasic, inserting a new
image an
Hi!
On Fri, 6 Mar 2009, Doug Palmer wrote:
> Hi,
>
> I've been in the process of porting tinyos 1.1.15 to run on fleck3bs.
> Part of what I want to port is the Deluge code. I've been able to get
> programs running without Deluge. I've been able to get Deluge running up
> to the point of formattin
Razvan Musaloiu-E. wrote:
> You should take a look on what happens in TOSBootM.nc. The most probably
> thing that goes wrong is reading from the external flash. Moving around
> the startupLeds() you should be able to figure out what path of code
> is executed.
>
> All the best!
> Razvan ME
>
>
Hi!
On Tue, 10 Mar 2009, Doug Palmer wrote:
> Razvan Musaloiu-E. wrote:
>> You should take a look on what happens in TOSBootM.nc. The most probably
>> thing that goes wrong is reading from the external flash. Moving around
>> the startupLeds() you should be able to figure out what path of code
>>
The problem does seem to be with reset/interrupt in the watchdog timer
for the Atmega 1281. I've explicitly cleared the interrupt bit in
HardwareC.nc and it seems to produce a proper reboot sequence. (It
doesn't seem to be copying the image correctly, but baby steps along the
way ...) Here's the fl
I'm now trying to find out why the program isn't being transferred into
the program flash. I've been tracing through and, as far as I can tell,
the verify step works OK, as does the program read and it claims to
write the program. However, the program doesn't seem to be being copied.
As far as I ca
Hi!
On Wed, 11 Mar 2009, Doug Palmer wrote:
> I'm now trying to find out why the program isn't being transferred into
> the program flash. I've been tracing through and, as far as I can tell,
> the verify step works OK, as does the program read and it claims to
> write the program. However, the p
Razvan Musaloiu-E. wrote:
Thanks for the help.
> You are talking about verifyImage, right? The check is in the for loop:
>
> 94 for ( i = 0; i < numPgs && crcTarget == crcTmp; i++ ) {
> ^^^
>
Very unobservant of me. Thanks.
>> 2)
Razvan Musaloiu-E. wrote:
> The boot.h from AVR might need to be updated to work with 1281. Could you
> try a newer version? The file from with avr-libc.
>
>
I've just found the boot.h lurking in $TOSDIR/lib/Deluge/TOSBoot/avr
Deleting this so that I find the library seems to have
everything w