Checksum fail

Discussion to talk about software related topics only.
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

Checksum fail

Post by henry_PIE »

Hello again,

This time I think I did something very stupid. The mod54415 is not booting to user application, it says there is Cheksum fail, I understand that if so, it wont jump to application code and will remain or switch to the alternate monitor.

While in the monitor prompt, I tried to download the simplest of the programs with the FLA command but still got the same result: "checksum fail".

I had a program running alright, then I decided to create a char array and made cp[4000] = NULL in an attemp to "empty" the array --- I just wanted to make cp[0] = '\0' , although I figure that out too late.

So, I am not sure what exactly went wrong, after trying to boot the modified program with the cp[4000]= NULL thing, it just broke down and doesnt want to boot anymore.

Is there a method to fix the memory (I think I have overwritten some important system values) from the Boot Monitor?

Please, any help would work,
Thanks in advance.
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: Checksum fail

Post by seulater »

I do not know if the new MOD5441x suffers from a similar even the rest do. Have you tried powering the kit down then back up to gain serial access ?
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Checksum fail

Post by rnixon »

The alternate monitor is there so you can recover things like this. If the alternate does not work, there is a lower level boot monitor as well, I'm not sure where the docs are, but you short two pins and boot the device. It should not be possible to brick this type of device. If you can't figure it out I would check with your support account.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Checksum fail

Post by pbreed »

Unlike the other products the alternate monitor should support autoupdate and network based updates.
No need to ever go to serial with the MOD54XX or NANAO....


Paul
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

Re: Checksum fail

Post by henry_PIE »

I am pretty sure I tried using Autoupdate to upload another program (one that I know works), but it wouldnt work, actually it the progress bar wouldnt ever show progress.
I will try again later and write back the results,

Thanks

BTW, are there any docs about the Boot and alternate monitors?
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Checksum fail

Post by dciliske »

Documentation for entering the alternate monitor is located in the Quick Start Guide distributed after November 26, 2012. The process is to simply power on/reboot the device with the 'TP1' jumper (located near the ethernet jack) shorted. As for documentation on using them, I don't believe we have that. If you enter the command 'help' in the monitor it will give you the list of commands and their brief description.
Dan Ciliske
Project Engineer
Netburner, Inc
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

Re: Checksum fail

Post by henry_PIE »

Ok, I tried the alternate monitor by shorting the tp1 jumper; while in the alternate monitor, which perfectly runs, I tried to use the Autoupdate tool. I can use IPsetup to set the net parameters of the module and it also works ok. However, I am not able to upload any program using the Autoupdate tool, it returns an error due to time out ("Programming Failed with timeout").

Again, I tried downloading a program using the monitor using the FLA command. After the transfer is complete, the monitor writes ¨cheksum fail¨, and everytime I reboot the module it will show the checksum fail print and run the alternate monitor.


I attached two pictures of the prints from the task monitor, after the help and then the setup commands. In the monitor_help you can see the check sum failed print I am talking about.

I really need some insights on this issue please, since I am not able to test any program.

Regards,
Henry
Attachments
monitor_setup.JPG
monitor_setup.JPG (137.73 KiB) Viewed 6442 times
monitor_help.JPG
monitor_help.JPG (129.16 KiB) Viewed 6442 times
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Checksum fail

Post by pbreed »

Several questions...

what are you trying to load?


you should be loading the xxxxx_app.s19
not the xxxx.s19.

If you try and load the bare s19 you will get the results you indicate.

Also is this plugged into one of our dev obards, or your own custom hardware?

If its plugged into your own custom hardware you may be clobbering the data bus lines used to read the flash.
henry_PIE
Posts: 11
Joined: Mon Jan 28, 2013 8:06 pm

Re: Checksum fail

Post by henry_PIE »

I used the XXX_app.s19
I am working with dev70 board included in the MOD54415 LC Development Kit.
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Checksum fail

Post by pbreed »

From the alternate monitor can you change the
settings, ie the ipaddress or soemthign like that, and when you do change the settings
does it remember the change across a power cycle?


Paul
Post Reply