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.

Serial Flashing DM365EVM

Hello.

Is it possible to get some assistance with the serial flashing process.

I do not see U-boot start up when i connect to the board with picocom.

So Im assuming the board is unflashed.

My attempts with serial flashing result CRC table loading  then UBL loading, very slowly, 3 hrs,

and then the program waits for a BEGIN command from the board to  ( I assume ) begin

transferring U-boot binary, but the board sends BOOTME instead.

 

This is becoming very frustrating after having followed all instruction from the wiki.

and for evaluation purposes I cannot justify buying emulator for $1000's to flash the board

I am quite new to this topic and linux, and hope I am trying to load the correct binaries

sft_DM36x_nand.bin  and u-boot-dm-365-evm.bin  if not

perhaps someone could link me to the correct binaries, or please help with a way forward.

 

Many thanks

 

Darren

 

 

 

 

  • Can you identify which DM365 Revision you are using as determine by markings on the top of the device.  There is a know bug for 1.2 and earlier revision

    See section 1.2.4 of the Errata Guide for errata description an workaround.

    http://focus.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz294d&fileType=pdf

    There is a procedure (see below) which enable flashing from an SD card.  I recommend using this procedure as well.

    http://processors.wiki.ti.com/index.php/DM3xx_SD_card_boot_and_flashing_program

     

    P.S. If this post answers your question, please mark as verified - Thanks!

     

     

     

  • Marcus

     

    Thank you for the links,  The silicon is 1.2, firstly i followed the workaround without any success.

    So moved on to try the sd card process,  With the following results.

    darren@darren-develop:/work$ cd dm3xx_sd_boot-6.1
    darren@darren-develop:/work/dm3xx_sd_boot-6.1$ ./dm3xx_sd_boot data /media/dev/sdc1/dm3xx.dat
    copying data to
    Writing /media/dev/sdc1/dm3xx.dat
    openning data file: No such file or directory
    failed to build data image
    darren@darren-develop:/work/dm3xx_sd_boot-6.1$ ./dm3xx_sd_boot data /media/sdcard/dev/sdc1/dm3xx.dat
    copying data to
    Writing /media/sdcard/dev/sdc1/dm3xx.dat
    openning data file: No such file or directory
    failed to build data image
    darren@darren-develop:/work/dm3xx_sd_boot-6.

    Should there be a dm3xx.dat file somewhere,  as the program seems unable to find it. 

    Or is this an issue with mounting the card. 

     

    Rgds

    Darren

  • Darrin,

    I assume the format step was performed and successfully

    ./dm3xx_sd_boot format /media/dev/sdc

    if so then you may need to manually mount the sd card as follows

    mount /dev/sdc1 /media/disk

    Afterward do the data copy

    ./dm3xx_sd_boot data /media/disk/dm3xx.dat

  • Marcus

     

    Format was success, my system doesnt auto mount sotrying to mount results in a comment " must specify file system type"

    Ubuntu 9.04

     

     

     

  • how ridiculous, many issues with trying to get a evm board flashed

     

    it should be a very simple process, but is fraught with problems

    and the only way to find out how to get anything done is by looking thru

    wikis and forums, which is itself very time consuming and not too well explained

    for people new to this environment.

    is there anywhere in uk I can send this board to be flashed?

     

     

     

  • Darren,

    I've personally verified SD flash process myself and the only difference I observed was that the auto mount didn't occur on Ubuntu 9.  But manually mounting the disk with the file structure specified in the instructions resolved the problem. 

    Let 's please work through where you are currently in the SD card setup process to better understand if there are specific differences (i.e. linux platform, sd card, etc) that maybe cause your trouble.  (Could please send a console output from your session that should all the setup and error message returned).

     

    Marcus

  • Marcus

     

    Firstly, I have managed to write dm3xx.dat to the SD card, however following the next steps i.e. booting the EVM from SD

    etc and then switching to NAND boot, rebooting the board etc  I have not seen any info coming back from the EVM.

    Im guessing that maybe I didnt format the card properly or something in that process.

     

    I also learned that after doing the format and then removing and re-entering the card results in the SDC and SDC1

    devices become locked, this is why I couldnt see them or mount them when reinserting the card. 

     

    However once I had realised what has happened, I was able to mount the card. But at the moment Im not sure if

    it is formatted properly.

     

    I will go thru the process again as I have lost all of the info now from those sessions and will copy it to you on Monday

    as it is late here in UK now. 

    Regards

     

    Darren

     

     

     

     

  • Marcus

     

    Upgrading to Ubuntu 10.04 LTS resulted in successfully SD flashing the EVM, with the first attempt.

    10.04 seems a bit more user friendly for us Linux newbies.

    Thanks for your help

     

    Darren

     

  • Darren,

    I'm glad that it's working for you!

     

    P.S. Please mark this post as verified if your question has been answered.

  • Hi Darren and Marcus,

    after starting off in late 2009 (pre ubuntu 9.10) as a complete newbie in linux and working with a evmdm365 since then on ubuntu 9.04 I need to upgrade now and want to find out if anything on my development system stand the risk of needing a lot of attention to get going again after doing an upgrade to 10.04 LTS.  I am trying to install other software - specifically Qt stuff to be able to have a GUI dev environment for test apps on the side -  and installation is complaining about libraries etc.  Can you please give me some advise on doing this exercise, it would be my first upgrade as I have postponed these sort of things to not break anything that I struggled hard on some things to get going but I guess there comes a time for everything.....

    Thanks, Jinh T.

  • Jinh,

    Please consult the Ubuntu help on upgrading.  There should be a procedure on how this is accomplished.

    https://help.ubuntu.com/community/LucidUpgrades

    Marcus

  • The focus.ti.com link is broken.

    Perhaps the forum posting TI links could be automatically scanned occasionally and either kept refreshed or a Note added with the current link.

    But the W3 standard is for links to be persistent, and not suffer when servers are updated !

    Perhaps focus.ti.com could redirect links to the 'correct' destination ?