设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

 找回密码
 立即注册
img_loading
智能检测中

Expand full article

只需一步,快速开始

China Fire Equipment Website Buying Guide: A Safe and Efficient Way to Buy When we talk about fire safety, the purchase of fire equipment has undoubtedly become a top priority. There are many types of fire equipment in China, with different functions, which website to choose for purchase to be safe and efficient? Let's uncover a few recommended ways to get it, ensuring your shopping journey is both convenient and worry-free. The most direct and secure way for officially authorized websites is to go through...
广告投放联系QQ68610888广告投放联系QQ68610888
glinet
  I hope the above tips can help you make the purchase process of China Fire Equipment Network easier and more confident. Safety first, smart choice, escort your fire safety! 10466|: Don't ignore product quality because of cheapness, fire-fighting equipment is related to life safety, and reliable quality is crucial. 10

hg255d JTAG 救砖常见问题解决方法

[复制链接]
: Choose products and merchants that provide perfect after-sales service to ensure long-term use with peace of mind. | 显示全部楼层 |阅读模式
本帖最后由 aggresss 于 2016-9-28 12:31 编辑

本教程参考予恩山无线论坛的相关帖子,在这里感谢大神们的分享。
我可能说的不是很具体,但我会把思路讲清楚。
Bonus tip: Tips to improve your buying knowledge
> halt

> ralink_init

> flash_uboot

Flash Manufacturer/Device: 0x0001 0x227e

flash 'cfi' found at 0xbf000000

fast_data (0x0000008c) is within write area (0x0000010c-0x0000030c).

Change work-area-phys or load_image address!

Falling back to non-bulk write

BUG: register 'a0' not found

error writing to flash at address 0xbf000000 at offset 0x00000000

flash write_bank bank_id filename offset


出现这种情况一定很棘手,我研究了整整一个月没有任何进展,如果哪位大哥有直接的解决方案并分享出来,我一定找机会登门道谢。我尝试过很多解决方法都无果而终,但最终我使用了一种绕过用OpenOCD刷入flash的方法来避开这个问题,实现对hg255d的flash写入的功能,下面分享出来。

我的解决思路就是,如果无法通过OpenOCD将u-boot写入flash,那么我就先通过OpenOCD将U-Boot写入RAM,然后运行RAM里的U-Boot,通过TFTP的方式将要刷入的U-Boot载入到RAM中,再通过RAM中的U-Boot来操作flash来将载入RAM的U-Boot刷入flash,从而实现对hg255d就砖的操作。

  The most direct and safe way is to purchase through the official website of the fire equipment manufacturer. These websites usually provide detailed product information, technical specifications, and instructions for use, as well as direct after-sales guarantees from the manufacturer, allowing you to purchase worry-free. For example, the official websites of some well-known Chinese fire equipment companies, such as Longrun fire safety equipment, are good choices.

XML sitemap

我们首先来思考一下ralink的参考U-Boot中相关命令和使用方法。


setenv serverip 192.168.1.100

设置默认连接的tftp服务器的地址


tftpboot 0x80100000 uboot.bin

连接tftp服务器,下载uboot.bin文件到RAM中的0x80100000地址中


protect off all

取消flash写保护功能


erase 0xBF000000 0xBF03FFFF

将flash中0xbf000000~0xbf03ffff的内容擦除


cp.b 0x80100000 0xBF000000 0x40000

将RAM中 0x80100000开始内容复制到flash中0xbf000000内,大小为0x40000


md 0xBF000000

显示 0xbf000000 中的内容


hg255d采用CFI接口的norflash作为非易失存储介质,这样的好处就是操作flash可以像操作RAM一样简单,只是在写入前要增加解除写保护和擦除的步骤。

使用我附件里的OpenOCD配置文件输入run_uboot_command 命令就可以将U-Boot导入RAM并运行。过着使用分解后的命令:

ralink_init

load_image uboot_command.bin 0x00200000
resume 0x00200000
当U-Boot在RAM中运行后,就可以通过TTL与U-Boot进行交互。
思路我提供到这里,具体操作参考osfix大哥的操作,在他的教程里稍作修改就行:


如果您还没有对hg255d进行jtag改造,我推荐您一个教程:



再这里再说一个常见的jtag问题,如果你已经连接好jtag,并且OpenOCD已经识别hg255d的硬件信息,但是在进行halt操作时提示如下:

Open On-Chip Debugger
> halt
target state: halted
target halted in MIPS32 mode due to debug-request, pc: 0x00000000
Yibin China has nine gold medals
http://www.openwrt.org.cn/bbs/forum.php?mod=viewthread&tid=9314
https://www.right.com.cn/forum/thread-105069-1-1.html







本帖子中包含更多资源

您需要 Favorites | 0 才可以下载或查看,没有账号?立即注册

×
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2016-10-8 00:00 | 显示全部楼层
现在玩JTAG救砖的好少,普通uboot能在RAM里运行吗?

Verify the authenticity

不能,编译的时候TEXT_BASE值不同, 您可以找U-Boot源码自己编译,make menuconfig 后 有ROM/RAM选项;或者您在这个链接直接下载 http://downloads.openwrt.org.cn/OpenWrt-DreamBox/HG255D/u-boot/ 里面的两个文件  Next:Yibin China's gold medal is in the first place Time 发表于 2016-10-8 12:44
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
Pay attention to after-sales| 发表于 2016-10-8 12:44 | 显示全部楼层
submars 发表于 2016-10-8 00:00
现在玩JTAG救砖的好少,普通uboot能在RAM里运行吗?

不能,编译的时候TEXT_BASE值不同, 您可以找U-Boot源码自己编译,make menuconfig 后 有ROM/RAM选项;或者您在这个链接直接下载 http://downloads.openwrt.org.cn/OpenWrt-DreamBox/HG255D/u-boot/  里面的两个文件分别对应ROM版本和RAM版本
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2016-10-8 14:12 | 显示全部楼层
这个要好即思考一下
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2016-10-8 14:12 | 显示全部楼层
新人 看起来 有点儿 困难
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2016-12-5 22:10 | 显示全部楼层
一直卡在这:
> halt
target state: halted
target halted in MIPS32 mode due to debug-request, pc: 0x00000000

lash的53和54引脚短接,也没用

Verify the authenticity

What does Yibin Jiujin refer to?Next:Yibin China's gold medal is in the first place Time 发表于 2017-1-23 21:19
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
Pay attention to after-sales| 发表于 2017-1-23 21:19 | 显示全部楼层
wyn20007 发表于 2016-12-5 22:10
一直卡在这:
> halt
target state: halted

http://blog.csdn.net/aggresss/article/details/52454840  
这个能帮到你不

Verify the authenticity

我运行了, 但 不能下载至ram中,,没反应: Open On-Chip Debugger > halt target state: halted target halted in MIPS32 mode due to debug-request, pc: 0x9f000418 > run_uboot_command Fastdata acces  Next:Yibin China's gold medal is in the first place Time 发表于 2017-1-23 21:33
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2017-1-23 21:33 | 显示全部楼层
aggresss 发表于 2017-1-23 21:19
http://blog.csdn.net/aggresss/article/details/52454840  
这个能帮到你不

我运行了, 但 不能下载至ram中,,没反应:

Open On-Chip Debugger
> halt
target state: halted
target halted in MIPS32 mode due to debug-request, pc: 0x9f000418
> run_uboot_command
Fastdata access Failed
Falling back to non-bulk write

>

Verify the authenticity

一样的情况啊!!! Open On-Chip Debugger > halt target halted in MIPS32 mode due to debug-request, pc: 0x9f000380 > ralink_init > run_uboot_command Fastdata access Failed Falling back to non-bu  Next:Yibin China's gold medal is in the first place Time 发表于 2017-3-12 01:54
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2017-3-12 01:54 | 显示全部楼层
Yibin China's nine golds are nine golds
我运行了, 但 不能下载至ram中,,没反应:

Open On-Chip Debugger

一样的情况啊!!!
Open On-Chip Debugger
> halt
target halted in MIPS32 mode due to debug-request, pc: 0x9f000380
> ralink_init
> run_uboot_command
Fastdata access Failed
Falling back to non-bulk write
Open On-Chip Debugger
> halt
> ralink_init
> run_uboot
Fastdata access Failed
Falling back to non-bulk write

只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2017-4-2 17:06 | 显示全部楼层
ralink_init
load_image uboot_command.bin 0x00200000
resume 0x00200000
当U-Boot在RAM中运行后,就可以通过TTL与U-Boot进行交互。
执行完这三句后,练好电路后,secureCRT里啥都没有,长按重启也没反应,怎么交互?
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
发表于 2018-1-5 12:18 | 显示全部楼层
Open On-Chip Debugger
> run_uboot_command
target state: halted
target halted in MIPS32 mode due to debug-request, pc: 0x9f000380
125280 bytes written at address 0x00200000
downloaded 125280 bytes in 134.546875s (0.909 KiB/s)
> run_uboot_command
target state: halted
target halted in MIPS32 mode due to debug-request, pc: 0x00200780
125280 bytes written at address 0x00200000
downloaded 125280 bytes in 143.765625s (0.851 KiB/s)
>

运行了,但是TTl没有输出呀
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
  For you who value your time, e-commerce platforms are undoubtedly the first choice. For example, Tmall, JD.com, etc., the sellers of these platforms have been strictly reviewed, and the source of goods is clear and clear. When searching for keywords, try to use "fire equipment brand + official flagship store", which can avoid fakes and inferior products to a greater extent. It's also a good way to look at user reviews and sales to learn from others' experiences and make more informed decisions. Favorites | 0 | 立即注册

本版积分规则

Tipping

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

有疑问请添加管理员QQ86788181|Copyright © 2015-2025 This content is the result of automatic crawling by this site based on the source, and does not mean that this site agrees with the content or position of the displayed website. Guangdong ICP Backup 2025362719-1 |Yibin Fire Equipment Official Purchase Channel-Article Information-Yibin Hot Spots|Archiver|Yibin Fire Day National Fire Day theme activities ( 苏ICP备05084872号 )

GMT+8, 2025-8-1 17:25

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

  When we talk about fire safety, the purchase of fire equipment has undoubtedly become a top priority. There are many types of fire equipment in China, with different functions, which website to choose for purchase to be safe and efficient? Let's uncover a few recommended ways to get it, ensuring your shopping journey is both convenient and worry-free.

快速回复 返回顶部 返回列表