1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,所有,我使用PIC32 MM000 64 GPL028设备与2.6V电源。尝试写双字写后,我读通过皮卡3 0X…4800 - DFFFFFFF FFFFF 6dB值。值更改但不正确。我尝试用代码从600 01121G.PDF AppNoT和在调试器中检查调试器的正确值,值正确,但结果是错误的。现在我不明白怎么回事。一切看起来都像是在工作。明天我将尝试使用Pig32 mm PIB模块使用Explorer 16/32板进行测试。
以上来自于百度翻译 以下为原文 Hi All, I used PIC32MM0064GPL028 device with 2.6V power. Try wrote double word uint32_t data_h, data_l, lc_addr; lc_addr = 0x1D004800; __builtin_disable_interrupts(); data_h = 0x00000000; data_l = 0x11111111; NVMDATA0 = data_l; NVMDATA1 = data_h; NVMADDR = lc_addr; NVMCON = 0; NVMCONbits.NVMOP = 2; NVMCONbits.WREN = 1; NVMKEY = 0x0; NVMKEY = 0xAA996655; NVMKEY = 0x556699AA; NVMCONbits.WR = 1; while (NVMCONbits.WR); NVMCONbits.WREN = 0; res = NVMCON; if (res & 0x3000) { ret = 1; } __builtin_enable_interrupts(); After writing I read via PicKit 3 0x...4800 - DFFFFFFF FFFFF6DB values. Values changed but incorrect. I try a lot of test with code from 60001121g.pdf AppNote and check by debugger correct values in regs, values writed correct but result is wrong. Now I don't understand what's wrong. All looking as working. Tomorrow I'll try do some tests with Explorer 16/32 board with PIC32MM PIB module. |
|
相关推荐
6个回答
|
|
你从哪里得到的0x1f00 XXXX地址?根据数据表,该地址范围被保留,即没有任何内容。图4.3页36。有效闪存地址范围为0x1dMAMO-0x1d00 FFFF。
以上来自于百度翻译 以下为原文 Where did you get the 0x1F00xxxx address from? According to the datasheet, that address range is RESERVED, i.e. there is nothing there. Figure 4.3 page 36. The valid flash address range is 0x1D000000 - 0x1D00FFFF |
|
|
|
你说得对,我写的地址是0x1D0800,我输入邮件时出错。
以上来自于百度翻译 以下为原文 You are right, my address for writing is 0x1D004800 my mistake when typing a post message. |
|
|
|
我已经发现调试器在代码空间被正确写入之后显示值的问题。我建议把代码空间的写入值读入RAM内存并检查RAM。
以上来自于百度翻译 以下为原文 I have seen problems with debugger showing values in code space correctly after it has been written to. I suggest reading written values of code space back into ram memory and inspecting the ram. |
|
|
|
不,我通过IPE Microchip的工具读取程序内存,而不是过调试器。在调试器中,我只是寄存器的控制值。
以上来自于百度翻译 以下为原文 No. I was read Programm Memory via IPE Microchip's tool not over debugger. Over debugger I was control values of registers only. |
|
|
|
上次更新。我使用PixPIC32 MM000 64 GPL36的探险家16/32。对该芯片的微芯片进行了简单的修改。所有的工作都很好:擦除&写双字&读双字。我用同样的函数来做它。它的工作。现在我的意思是低功耗电压(+2.6V)的更新FW的问题。有人用低功率电压改变FW吗?明天我会做更多的测试。
以上来自于百度翻译 以下为原文 Last update. I used Explorer16/32 with PIM PIC32MM0064GPL36. Simple example from Microchip for this board was modified. All works well: Erase->Write double word->Read double word. I was used same as functions for do it. And it's working. Now I mean that is problem with low power voltage (+2.6V) for update FW. Anyone use change FW with low power voltage? I'll do more tests tomorrow. |
|
|
|
我发现有什么不对。串行USB -TTL+3.3V转换器连接到MCU +2.6V的主要问题。
以上来自于百度翻译 以下为原文 I found what's wrong. Serial USB-TTL +3.3V converter connected to MCU with +2.6V main problem. |
|
|
|
只有小组成员才能发言,加入小组>>
5237 浏览 9 评论
2027 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3202 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
772浏览 1评论
662浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
590浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
672浏览 0评论
572浏览 0评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-21 22:20 , Processed in 1.447605 second(s), Total 88, Slave 72 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号