This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 UART boot mode problem

Hi,

 

I am working on a couple of DM365 EVMs  and I need to restore ubl and u-boot on one of them. I am using DM644x serial flasher 1.50. After setting up the UART boot mode before flashing the board, I attempted to flash the board -unsuccessfully- with the binary files included in the PSP. I do not get the usual BOOTME prompt in a Minicom terminal but rather a version of it with some non-printable symbols that I suppose prevent the flasher from taking control. I tested the two boards and both of them exhibit the same behaviour. I also tested the configuration of my terminal (Minicom) in case some setting could be wrong against a DM355 EVM, but everything normal.

Has anyone experienced something like this? Any ideas?

 

Regards,

 

Santiago.

 

 

  • The DM365 EVM works a bit different than the DM355 or DM644x EVM, there is not currently a serial boot loading utility that will work with the DM365 EVM so to flash UBL and U-Boot to the EVM you would typically use CCS and a JTAG emulator with the flash burning utilities within dvsdk_2_10_00_13\PSP_02_10_00_11\bin\dm365. There is a serial flashing utility on the roadmap, however I do not have a timeline for its availability.

  • Any idea when a serial flashing utility will be available?

    I have had a go at figuring out the procedure for the DM365 with not much luck. Have set the serial port baud rate to ~141800 to account for the chip errata. The following sequence describes what I am seeing. This is an attempt to load a 0x0FD8 byte UBL with a start address of 0x0100 with a zeroed out CRC/table.

    DM:BOOTME
    PC:    ACK\0
    PC:00000000
    PC:0FD8
    PC:0100
    PC:0000
    DM:BADADDR BOOTME BOOTME BOOTME BOOTME

    I notice that if I do not send the '\0' on the ACK message it does not complain about a bad addresses but still doe snot seem to work. Perhaps the start address is incorrect///

    DM:BOOTME
    PC:    ACK
    PC:00000000
    PC:0FD8
    PC:0100
    PC:0000
    DM:BEGIN
    PC:Send 1024 bytes of CRC table (all zeroes)
    DM:DONE
    PC:Send 0x0FD8 bytes of UBL
    DM:DONE

     

     

     

  • Unfortunately, we do not have a time table for this utility yet; it will likely be soon after the next silicon rev which fixes the errata issue above. 

  • It seems possible to work around the errata by setting the UART baud rate to ~141800. Are you able to let us know what the correct programming process is? Is the handshaking described above correct for the DM365? More importnantly, to what address does the RBL load the code to? We are looking for a solution for the current silicon.

  • 141800 is not a standard baud rate supported by most serial terminal programs (e.g. teraterm), hence you may have to consider even a slower baud rate and we would need to research how this would affect other peripherals;  I suspect there is a good reason our software team is not releasing a UART utility until after next silicon rev.

  • Most "USB serial adapters" for $15 can do this. Find one that says it is up to  "1 Mbaud" compatible, and that means it probably uses the FTDI "RS232" chip or later chips.

    All these FTDI chips, even the 5 yr old ones,  can all easily set set to exactly 141.xx  Kbaud.

    Just run a serial terminal that lets you set that easily, like PuTTY.exe  terminal. Just type 141000 into the Speed box, or anything within +/- 5% of that !  WOrks great !

    A lot of motherboard UARTs wont do this, even from new computers.

    I've used these brands: Micro Connectors, I-Connect from Frys Electronics here in the CA bay area.

     

  • Santiago Nunez-Corrales said:
    I am working on a couple of DM365 EVMs  and I need to restore ubl and u-boot on one of them.

    You can restore flash with SD card boot and flashing tool.

  • Is there any update as to when we can expect a Serial Boot utility for the DM365?

  • There is a serial boot utility available, for the general serial boot flash for most devices can be found here, a specific section for the DM365 is here, and the latest version is included in the latest GIT based PSP releases for the DM365.