MOD5282 cannot be programmed

Discussion to talk about software related topics only.
Post Reply
Snoopydly
Posts: 2
Joined: Wed Oct 25, 2017 12:48 pm

MOD5282 cannot be programmed

Post by Snoopydly »

I have one MOD5282 cannot be detected by IPSetup. I then downloaded program with NEetburner MOD5282 Monitor V1.18 with MTTTY.

The downloading looked fine at the first stage. I got
'*******Starting address = 02000000
S Record End detected'

After a while, I got
'Errors were encountered in the download
Flash not programmed

nb>'

This seems a damaged module. Anybody can suggest it is more of a flash IC or RISC damage?

Thanks a million!
Attachments
Screenshot of MTTTY.
Screenshot of MTTTY.
MOD5282 cannot program.JPG (85.33 KiB) Viewed 2214 times
ecasey
Posts: 164
Joined: Sat Mar 26, 2011 9:34 pm

Re: MOD5282 cannot be programmed

Post by ecasey »

What program did you download?
You should download the file "Mod5282FactoryDemo_APP.s19" from the "../nburn/MOD5282\original" folder in the development tools. it has to be a file that ends in "_APP.s19".
Snoopydly
Posts: 2
Joined: Wed Oct 25, 2017 12:48 pm

Re: MOD5282 cannot be programmed

Post by Snoopydly »

I downloaded a working program of mine. Must I download the factory demo? It serves to get Ethernet connection back. The program I downloaded has Ethernet working normally on another piece of MOD5282.

I'm about to try repair not working one by replacing ICs. Any opinion on where to start with is appreciated. Thanks.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: MOD5282 cannot be programmed

Post by pbreed »

When downloading by serial port the most common error is to download the s19, not the _app.s19
So please follow the advice given and download the factory _app.s19 to see if it brings the network back to life....


You need three things to load code....

1)Board has to boot and communicate via serial port (That seems to work)

2)Flash must work... (try changing some minor parameter via setup command and see if the setting change
survives power cycle if so the flash is working.

3)DRAM must be functional...
from the command prompt
MT 02000000 02800000

If that passes then the board hardware is fine...
That leaves two possibilities...
You serial port is dropping charactors.... (not unheard of, but not common)

You are trying to load the wrong S19 file.... 95% of the time this is the error....


Note there is one other thing you can try....

fla loads the app into flash....

fla <cr>
<download the _app.s19 file>


or
You can load the uncompressed s19 into DRAM directly....
dl <cr>
<Download the s19 file (not the app s19 file)>
go <cr>
Post Reply