Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problem of burning NorFlash without parallel port by using J-LINK of Make in China

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to use Make in China J-LINK to solve the problem of non-parallel port burning NorFlash, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

To help and provide some solutions for J-LINK students using Make in China to solve the problem of burning NorFlash without parallel port:

1) Open the jlink command program and enter:

CMD#speed 12000 / * set TCK to 12m, set download speed * /

CMD#r CMD#h CMD#loadbin e:\ init.bin 0 / * download the memory initialization program to 0x0 address * /

CMD#h / * secondary command is to suspend CPU*/ temporarily

CMD#setpc 0x0 / * set the code to initialize SDRAM. This code is generally available in SDK. You can directly use the bare metal code of the corresponding platform * /

CMD#g / * execute memory initialization program * /

CMD#h CMD#loadbin e:\ u-boot.bin 0x33f80000

CMD#setpc 0x33f80000

CMD#g

CMD#h

CMD#loadbin e:\ u-boot.bin 0x30000000 CMD#nand scrub

CMD#nand erase 0 30000

CMD#nand write,jffs2 0x30000000 30000

Note: then unplug J-Link, select NandFlash, and restart. You will see the startup information of NandFlash in the serial port terminal.

2) with UBOOT, it is convenient for you to burn NorFlash. Here is the environment variable that I configured uboot.

Install-bootloader=tftp 30000000 umurboot.binternanderase 0 40000nandwrite 30000000 00

Install-kernel=tftp 30000000 uImage;nand erase 60000 200000 nand write.i 30000000 60000 0

Install-filesystem=tftp 30000000 filesystem.yaffs;nand erase 260000 3d9c000Shinand write.yaffs1 30000000 260000 0 erase-env=nand erase 40000 20000

Bootargs=root=/dev/mtdblock2 rw console=ttySAC0,115200 bootcmd=nand read.i 0x32000000 0x60000 0x200000

The above content is how to use Make in China's J-LINK to solve the non-parallel port burning NorFlash, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report