Glennon 0 Posted February 5, 2012 Report Share Posted February 5, 2012 I wrote an application in BoostC for the Matrix ECIO40P (PIC 18F4455). After downloading via the Matrix programmer, the application runs fine. But when I removed the USB power to the ECIO40P, and reapplied the power after about 5 secs, the program on the ECIO40P started to run, but the application does not work anymore ( I had a switch wired to porta.0). I had to reload the application from the matrix programmer again, and everything works fine. It appears the application program is not burnt into the flash memory, and when power is removed, the program is lost, and need to be reloaded. Anyone had this experience? Am I missing some code lines ? The hex file size is 2kb, my license covers it. My linker switch is -rb 0x0800 Appreciate any help or advise. -Glenn Quote Link to post Share on other sites
Dave 0 Posted February 8, 2012 Report Share Posted February 8, 2012 Gennon, I wrote an application in BoostC for the Matrix ECIO40P (PIC 18F4455). After downloading via the Matrix programmer, the application runs fine. But when I removed the USB power to the ECIO40P, and reapplied the power after about 5 secs, the program on the ECIO40P started to run, but the application does not work anymore ( I had a switch wired to porta.0). I had to reload the application from the matrix programmer again, and everything works fine. It appears the application program is not burnt into the flash memory, and when power is removed, the program is lost, and need to be reloaded. Anyone had this experience? Am I missing some code lines ? The hex file size is 2kb, my license covers it. My linker switch is -rb 0x0800 When you download to the device it is writing to the flash memory, so the program won't be lost when you remove the power,The only thing that could be happening is that the boot loader, the program that allowed you to download, is then not allowing the application to start. Regards Dave Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.