This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue With loded code under IAP

i am using LPC2148 For my Project. There is a problem in Loded code in IAP programming through Secondary Bootloder(USB)....

1).When I load Code USING FLASH MAGIC ISP MODE(Through Serial Coomunication). my code works fine without any Problem..(BUT code is might in size so it is painful to wait 5 min To see How its Work.)

2).When Same code i modified(Not edit Code only few settings to generate binary file.) For compatiblity in USB Bootloder Purpose.The code is loded succesfully without errors and There is a proper execution of all things except SERIAL COMMUNICATION..my serial communication is not work properly and strange characters are displaying in Terminal...

i am beginner so not Developed A code for USB bootloder But just Get it from NXP..

www.nxp.com/.../AN10711.zip

and it is working fine and able to load code with P0.15 low and detect USB storage..

By googling about this i find there should be little modification for Startup.s for the Interrupt Vector Table and yes i am using Serial interrupt which on character reception into lpc2148..

Parents
  • Ya....its right I use 9600 bps...but I use 12Mhz cry.
    And 2nd things is that my serial device support 9600 so i use in my application

    And for usb compatibility I just create. Bin file from. Elf and make irrom1
    From 0x00 to 0x2000.
    So my application code is at 0x2000..all things working correctly at isp program loading ....

    Only problem is with iap flashing ....

    There is not any kind of changes in freq. In between all this procedure .....

    Exactly doesn't known why mine serial comm is not working .....
    Thanks for ur rply per ....

Reply
  • Ya....its right I use 9600 bps...but I use 12Mhz cry.
    And 2nd things is that my serial device support 9600 so i use in my application

    And for usb compatibility I just create. Bin file from. Elf and make irrom1
    From 0x00 to 0x2000.
    So my application code is at 0x2000..all things working correctly at isp program loading ....

    Only problem is with iap flashing ....

    There is not any kind of changes in freq. In between all this procedure .....

    Exactly doesn't known why mine serial comm is not working .....
    Thanks for ur rply per ....

Children
No data