Punctuality atomic ALPHA bare metal program development board burn tf card error problem analysis

Atomic out I.MX6U development board, some time ago to see the bare routine, I noticed sometimes burning program to tf card imxdownload show a success but in fact did not burn inside. Phenomenon after installation tf card is a faint light emitted by the LED and has been flashing.

Analysis: The reason for this situation because the program does not burn into the SD card, or a DIP switch plate is not developed at TF card (SD) start mode.

Solution:

The size and the actual size using fdisk command to view the loaded tf card are equal:

sudo fdisk -l

 

If you can not recognize the memory card or memory card information is likely due to system problems or TF card format wrong, try using SDFormatter format. One is a system problem, there are two systems do not support the ability (1604LTS and later versions should all lines), and the other is because the use of the virtual machine when there is no tf card will mount to a virtual machine (tf card automatically mount on the host).

You can see the mount device name TF card is / dev / sdb (Why I know is / dev / sdb, because my TF card is 16G, just close this device 16G)

The ledc.bin files to burn through imxdownload TF card:

sudo ./imxdownload ledc.bin /dev/sdb

Do not fly one of his tips:

If for quick plug tf card or on the implementation of programming commands (./imxdownload) is not inserted at the time tf caused by the use of "ls / dev / sd *" reading device is present (but wrong color) but using "sudo fdisk - l "can not find the device:

Can directly compare brutal sdb delete this file, the command is as follows:

sudo rm -rf /dev/sdb        #这里我的设备是sdb

 Then re-plug tf card.

 

Here we propose the following points should be noted:

1, TF card into the Ubuntu -l after viewing the device name with sudo fdisk, we may have with ls / dev / sd * when viewing / dev / sdb and / dev / sdb1, burn time to burn to / dev / sdb years, not / dev / sdb1, / dev / sdb is the device name, / dev / sdb1 is the partition name, we burn is burned in equipment, namely / dev / sdb

2, if the burn is unsuccessful, it is recommended can then burn with A formatted disk in the TF card TF card format tool

 

 

 

  •  
发布了21 篇原创文章 · 获赞 12 · 访问量 1万+

Guess you like

Origin blog.csdn.net/Argon_Ghost/article/details/103390588
Recommended