0 Replies Latest reply on Aug 18, 2017 3:09 PM by nileshkatkar22_1702641

    UART command for bootloader

    nileshkatkar22_1702641

      hi all,

         

      i am trying to send command of UART (using docklight)for bootloading psoc4200.except program row command all other command is working properly.for program row command 0x03 error is coming.i tried different way to send this command but same problem is comming.

         

      i want to load my project file through this command on docklight.

         

      following is sequence:-

         

      >>  01 38 00 00 C7 FF 17    ->Enter bootloader command (0x38) 

         

       << 01 00 08 00 93 11 C8 04 11 28 01 01 4c FE 17  -.response.

         

      >>01 32 01 00 00 CC FF 17     ->Get flash size.(0x32)

         

      << 01 00 04 00 34 00 FF 00 C8 FE 18   ->response (first row:-34 00,last row:-FF 00)

         

      >>01 37 04 00 01 01 01 01 C0 FF 17   ->Send data (0x37)

         

      <<01 00 00 00 FF FF 17                   <-Response.

         

      >>01 39 04 00 00 34 00 01 8D FF 17      ->program row (0x39) (array id:-00 row:-34 00 data:-01) (i also send last block of send data command with approriate checksum also try different row.)

         

      <<01 03 00 00 FC FF 17               ->error 0x03.

         

      Bootloader setting:-

         

      communication component:-UART 

         

      wait for command time (ms): 0 (wait forever) (i also tried 2000)

         

      checksum :- basic summation.

         

      why i always get 0x03 error?