I recreated a boot loader program from AN3748. System specs:
1) Window 7 64bit.
2) Code warrior 10.7
3) Target processor MCF51JM128.
Issues: The attached project is meant to act as a bootloader as well as user application.
1) Built 1 forces firmware to execute user program and blink LED continuously on port D7 works well.
2) Built 2 forces firmware to go into boot-loader mode. When in this mode, the board doesn't seem to be enumerating and I get driver installation error in windows.
Can someone please take a look at the code and suggest what where I might be going wrong?