heybert676
04-16-04, 09:32 AM
I'm working on a bot that will be traversing a maze and picking up balls. Currently, I'm using a P&E BDM interface cable connected to my laptop to program the controller using Metrowerks' Codewarrior (the eval edition they give out). The bot reacts like I want it to when it is hooked up, however, when I remove it, the bot doesn't work.
I can run a program out of RAM using the BDM, but I can't program the FLASH so that the program can run on the controller without the BDM. The listing file of my program run thorugh Codewarrior, shows the starting address as $8000, even though its running RAM. The minute i remove the BDM, the program no longer runs (which is how i know it's running out of RAM).
I've tried including org statements at the end, setting the address $FFFE to point back to the start of the main code.
What I'm trying to is to load it into FLASH and have the reset vector point back to the start of code, so that the controller will run without the BDM hooked up.
Does anyone have experience programming this controller using codewarrior (or any other easily accessible IDE...free).
I can run a program out of RAM using the BDM, but I can't program the FLASH so that the program can run on the controller without the BDM. The listing file of my program run thorugh Codewarrior, shows the starting address as $8000, even though its running RAM. The minute i remove the BDM, the program no longer runs (which is how i know it's running out of RAM).
I've tried including org statements at the end, setting the address $FFFE to point back to the start of the main code.
What I'm trying to is to load it into FLASH and have the reset vector point back to the start of code, so that the controller will run without the BDM hooked up.
Does anyone have experience programming this controller using codewarrior (or any other easily accessible IDE...free).