Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - casperhuang

#1
LPC9xx/LPC9xxx / How does flash magic write firmware
August 23, 2007, 01:13:11 AM
Hi All,
 
    Does any one know How flash magic write firmware to MCU,

    I want to know the detail ?
 
    I write a program to do firmware writting, but always CRC check no match

    Can any one help me ?

    below are my setps

    I use MCB900, 89LPC921, send file by uart

    1. I set MCU under ISP mode first
    2. Send "U" character to sync serial loader baud rate by my program
    3. Send Clear security byte0, byte1, byte2, byte3 command (intel hex format)
    4. Send Erase Block 0, Block 1, Block 2, (intel hex format)
    5. Sned hex file line by line
    6. over

     When finish I use flash magic to read CRC , but they are no match.