Bootloader problem (fixed)
I can't get the bootloader code from the Obex to work on our hardware. The SD card is on pins P12-P15, so I changed the 0 in i:=sd.mount(0) to 12. Even if the booted code isn't working the code.bin file should be deleted by the bootloader, as I understand it, but that isn't happening.
I know the SD card is working OK because I can write data to it and read it back with the fsrw23 code.
Has anyone got any ideas?
BTW, this is an interesting application - a data logger for refrigerated containers which needs to drive a printer in the cab, and also display data on a VGA display.
[noparse][[/noparse]Edit]
I think I've found the problem - the board was designed with a 32k boot EEPROM and I assumed it was a 64k! We have a second much larger EEPROM on the board, so I can remove the boot device, and use the larger device for booting, with a few circuit changes.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 10/9/2009 9:12:18 PM GMT
I know the SD card is working OK because I can write data to it and read it back with the fsrw23 code.
Has anyone got any ideas?
BTW, this is an interesting application - a data logger for refrigerated containers which needs to drive a printer in the cab, and also display data on a VGA display.
[noparse][[/noparse]Edit]
I think I've found the problem - the board was designed with a 32k boot EEPROM and I assumed it was a 64k! We have a second much larger EEPROM on the board, so I can remove the boot device, and use the larger device for booting, with a few circuit changes.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 10/9/2009 9:12:18 PM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 10/9/2009 9:14:47 PM GMT
And also make sure it does not get left in.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 10/9/2009 10:55:58 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5
Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.
Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.