Page 1 of 1

MOD54417 "Device Platform" information lost

Posted: Fri Aug 26, 2016 11:45 am
by rlupish
Hi -

Not quite '"bricked", but *somehow* I've managed to wipe out my MOD54417 notion of what it is :shock: , as shown from AutoUpdate when I try to download a new version of the app I'm working on:
Snip of AutoUpdate Error Window
Snip of AutoUpdate Error Window
NetBurner Device Platform..JPG (23.49 KiB) Viewed 8964 times
If I use the "magic" jumper, AutoUpdate will see it just fine as "[MOD5441X]" :) , and I can download and run the program after rebooting without the jumper (although it hasn't recovered its Device platform information - the display still shows garbage - so I have to jumper and hard reset it to re-program it every time now :o :x

Is there any easy way of resetting this information? :?:

Thanks!

Ron

Re: MOD54417 "Device Platform" information lost

Posted: Sat Aug 27, 2016 12:41 pm
by rnixon
I believe that get compiled in as part of your app, so you may have a memory corruption problem. Try building and loading one of the example programs with no modifications, and see if the problem persists.

Re: MOD54417 "Device Platform" information lost

Posted: Mon Aug 29, 2016 8:19 am
by rlupish
Thanks rnixon for your reply.

It does appear that I've managed to clobber the module's device ID - looking for it with IPSetup or AutoUpdate shows the 54417 module with the correct IP addresses, but with garbage (or no) characters in the device ID field for the module.

What I need is a way to restore the device ID in the application area of the module. The device ID, BTW, in the Alternate Boot Monitor is fine: "MOD5441X", which shows up as expected via IPSetup or AutoUpdate finding the module in ABM mode.

Ron

Re: MOD54417 "Device Platform" information lost

Posted: Mon Aug 29, 2016 8:35 am
by sulliwk06
Browsing through the library it looks like you may have overwritten the PlatformName somewhere in your code.

Code: Select all

const char * PlatformName = "MOD5441X";
You might try looking around what code you changed just before this started happening, looking for some kind of buffer overflow perhaps.

Re: MOD54417 "Device Platform" information lost

Posted: Mon Aug 29, 2016 3:55 pm
by dciliske
Open up the _APP.s19 you want to load with a text editor. Remove the first line and save. Load that with autoupdate. It's up to Autoupdate to verify the image and target share the same platform.

Basically, every _APP.s19 generated by compcode will embed the platform it's for at the start of the file. I believe that once upon a time this was not the case, so Autoupdate needed to be able to handle files without the platform during the transition period. Now it turns out to be a useful "feature" in situations like yours...

-Dan