我有ATMEL ICE C初始连接问题 - 它无法读取设备签名,因为目标板电压不在1.8至5.5V之间。它通过Atmel Studio测量为1.3V(目标板由USB连接器供电)或0.3V(当USB与目标断开时)。
我所做的 -
- 1.将目标板连接到ICE程序员。
- 2. USB的功率目标板。
- 3. PC USB端口的USB的Power Progrommer。
- 4.在AS 7中打开“设备编程”选项卡。5。
- 我的芯片Atmega328p的所有设置制定为所有设置
- 6.press“应用”,然后'读取'''
- 将
- (虽然我直接测量了它,但通过销 +5V上的数字电压表和目标上的GND
板,大约4.5V,与ISP连接器相同 - 在2上测量
6针。)
- ============================================== ==========
- @markus-nm您在哪里进行测量?
- 我在ISP连接器的引脚2和6上测量了PIN +5V和GND之间的测量。
使用了什么参考?
您是否将同一USB主机用于ISP和Power?
- 不,针对目标板的功率来自墙壁插座USB充电器,Atmel ICE的功率来自个人计算机。
如果没有,您是否连接了地面?
一些指向您芯片,董事会和ISP的链接会有所帮助。
- atmel-ice-c
- arduino nano pro
如果是自定义PCB,请提供一些原理图。显示您所做的事情的接线图。
- 不,我使用了标准的纳米板(可能不是原始的,而是克隆,但现在肯定是在工作,因为它可以通过Avrdude程序和工作来编程。)
I have ATMEL ICE C initial connection problems - it cannot read device signature, because of the target board voltage isn't between range of 1.8 to 5.5V. It has measured by the Atmel Studio as 1.3V (when target board is powered by the USB connector) or 0.3V (when USB disconnected from target).
-
It'a a brand new device, and i never used it before, may be i did something wrong?
-
I had used before AVR ISP handmade by myself, and had used previously programmed target board for this experiment, to avoid possibility, that board is dead. The target is works and blinking heart beat.
What i has done -
- 1.Connect the target board to the ICE programmer.
- 2.power target board by USB.
- 3.power programmer by USB from PC USB port.
- 4.open "device programming" tab in AS 7.
- 5.Make all settings for my chip atmega328p
- 6.press "apply" then 'read'
- 7.get err msg that voltage is too low.
- (while i had measured it directly, by the digital voltmeter on pins +5V and GND on target
board, it's about 4.5V, same as in ISP connector - measured on 2 and
6 pins.)
- =======================================================
- @markus-nm where did you take your measurements?
- i had measured on pin 2 and 6 of ISP connector and between pin +5V and GND on Arduino Nano board.
What reference was used?
- i had used GND pin on target board for the reference.
Did you use the same USB Host for ISP and power?
- no, power to target board was from the wall socket USB charger, AND power to Atmel ICE is from personal computer.
If not, did you connect the grounds?
- no, but i guess that grounds are already connected on the target board.
Some links to your chip, your board and ISP would be helpful.
If it's a custom PCB, provide some schematics. Show a wiring diagram of what you did.
- no, i had used the standard Nano board (may be not original, but clone, but it is definitely working now, because it can be programmed by the AVRDUDE program and work.)
发布评论
评论(1)
Atmel-ICE 根据设计,有多种不同的方式来连接编程连接器。通常,当我看到这样的问题时,这是因为使用了错误的连接器。请记住,编程器本身具有 AVR 和 SAM 端口。对于 Arduino Nano Pro,请确保将其插入 AVR 端口。之后,确保您在 Atmel-ICE 附带的适配器板上使用正确的编程连接器,并且其在 Nano 接头上的方向正确。
如果这一切都失败了,那么有些东西就坏了。
The Atmel-ICE, by design, has a lot of different ways to hook up the programming connector. Often when I see problems like this it's because the wrong connector is used. Keep in mind the programmer itself has both an AVR and a SAM port. For the Arduino Nano Pro, make sure it's plugged into the AVR port. After that, ensure you're using the correct programming connector on the adapter board that comes with the Atmel-ICE and that it's oriented correctly on the Nano's header.
If that all fails then something is broken.