As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

CW304 Notduino Target

536 bytes added, 14:36, 2 February 2017
no edit summary
= CW304 Target: Notduino (ATMega328P Board) =
 
[[File:Notduino.jpg|image]]
* Header to connect USB-Serial for Arduino bootloader usage
== Board Usage ==
The board is connected to the standard 20-pin target connector used on the ChipWhisperer system. In addition you will require connection of the SMA connector to perform power measurements:
[[File:6pin_short.jpg|image]]
=== Clock Jumper Settings (JP8/JP9) ===
The clock jumpers allow you to connect the HSOUT and HSIN lines to the two XTAL pins on the ATMega328P. Normally you would mount JP8, which routes the HSOUT line from the ChipWhisperer to the "External Clock Input" on the ATMega328P.
Finally, you can also solder a wire from pin 14 (PB0) of the ATMega328P to pin 10 (PB7, the XTAL out pin). This allows you to enable the internal oscillator of the ATMega328P, and also enable the "Clock Out" pin. This clock output drives the internal oscillator frequency onto the output pin, which you then route to the HSIN lines.
=== Serial Header (JP4) ===
The serial header at JP4 provides a method of connecting a standard serial cable to the NOTDuino board. Note the "RST" pin is broken out, allowing you to use a serial cable with a "DTR" pin to control the reset of the ATMega328P (which is required for the Arduino bootloader).
|}
=== User IO Header (JP3) ===
The user IO header breaks out
|}
== Using Arduino Software ==
If you wish to use the Arduino software with the NOTDuino board, there is two main methods of doing that:
# Using board entirely stand-alone.
=== Using ChipWhisperer-Lite as Programmer ===
If using the board with the ChipWhisperer-Lite attached (i.e. using the ChipWhisperer-Lite as the capture hardware), this requires the fewest modifications. To use the board you will need to:
</li></ol>
=== Using Board Entirely Stand-Alone ===
If using the board stand-alone, you will need to perform the following:
<li>Connect a USB-Serial adapter to JP4. You can connect the VCC line of a serial port to the &quot;+3v3&quot; line, as the board can be powered from 5V '''when not connected to the ChipWhisperer-Lite'''. Never connect the board to a 5V line with the ChipWhisperer-Lite attached, as it will ''destroy the ChipWhisperer-Lite''.</li></ol>
== Kit Assembly ==
The Notduino kit includes all the parts to assemble the Notduino kit. The following shows the kit parts:
[[File:Kit_packaged.jpg|image]]
=== Kit Parts ===
Which you can break out into the following parts:
[[File:Resistors.jpg|image]]
=== Assembly Process ===
There is no specific assembly procedure for the board. The values of components have been marked on the blank PCB, here are some general instructions for the assembly process:
# The test-points (including the &quot;GND&quot;) can be made using a cut-off resistor lead. This gives you something to clip a test point onto.
=== Assembly Video ===
You can see a [http://www.youtube.com/watch?v=zCmWzpyEYe8&hd=1 Video] of the assembly process of YouTube:
[[File:Cw304asm.png|link=http://www.youtube.com/watch?v=zCmWzpyEYe8&hd=1]]
=Troubleshooting = Schematic  == Programming a New Notduino AVR == Some users have had trouble programming fresh Notduinos from the ChipWhisperer-Lite: attempting to read the AVR's signature or program it causes the program to time out (with the message <code>USBError: [Errno 110] Operation timed out</code>). This is generally because the ChipWhisperer-Lite can't generate a clock speed slow enough to program a fresh AVR. See [https://www.newae.com/forum/viewtopic.php?f=6&t=174 this forum thread] for the problem symptoms, and [https://www.newae.com/forum/viewtopic.php?f=6&t=67 this thread] for the solution. = Schematic =
[[File:Cw304_schematic.png|image]]
Approved_users
510
edits

Navigation menu