82 | | eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff |
83 | | flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff |
84 | | lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 |
85 | | hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 |
86 | | efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 |
87 | | lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00 |
88 | | calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00 |
| 83 | eeprom 4 10 64 0 no 1024 4 0 9000 9000 0xff 0xff |
| 84 | flash 33 6 64 0 yes 32768 128 256 4500 4500 0xff 0xff |
| 85 | lfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 |
| 86 | hfuse 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 |
| 87 | lock 0 0 0 0 no 1 0 0 2000 2000 0x00 0x00 |
110 | | As we see, the guy called avrdude, is pretty polite. |
| 109 | As we see, in the end avrdude complains about a missing target. The reason is simply, that we did not yet connect the board. Now let's connect the board. |
| 110 | Make sure the connector is plugged the right way around. Pin 1 of the ISP connector on the FSC board is the one farthest away from the MCU. |
| 111 | Also make sure the board is powered, since it will not be powered through the programmer. |
| 112 | In case all connections are fine and the board is powered your output might look like this: |
| 113 | {{{ |
| 114 | dneise@NeiseLenovo:~$ sudo avrdude -p m32 -c avrispmkII -P usb |
| 115 | |
| 116 | avrdude: AVR device initialized and ready to accept instructions |
| 117 | |
| 118 | Reading | ################################################## | 100% 0.01s |
| 119 | |
| 120 | avrdude: Device signature = 0x1e9502 |
| 121 | |
| 122 | avrdude: safemode: Fuses OK (H:FF, E:D9, L:FE) |
| 123 | |
| 124 | avrdude done. Thank you. |
| 125 | }}} |
| 126 | |
| 127 | You can even use the programmer in a kind of interactive session, and e.g. ask for the supply voltage level of the board. |
| 128 | In order to change into interactive mode, add the **-t** option (for "terminal" mode). |
| 129 | After you're conected to the board, you can ask for some paramters of the target, using the "parms" command. |
| 130 | In order to quit, simply type "quit". It might look like this: |
| 131 | {{{ |
| 132 | dneise@NeiseLenovo:~$ sudo avrdude -p m32 -c avrispmkII -P usb -t |
| 133 | |
| 134 | avrdude: AVR device initialized and ready to accept instructions |
| 135 | |
| 136 | Reading | ################################################## | 100% 0.01s |
| 137 | |
| 138 | avrdude: Device signature = 0x1e9502 |
| 139 | avrdude> parms |
| 140 | >>> parms |
| 141 | Vtarget : 4.9 V |
| 142 | SCK period : 0.50 us |
| 143 | avrdude> quit |
| 144 | >>> quit |
| 145 | |
| 146 | avrdude: safemode: Fuses OK (H:FF, E:D9, L:FE) |
| 147 | |
| 148 | avrdude done. Thank you. |
| 149 | }}} |
| 150 | |
| 151 | If you accomplished this, you can be sure, that your programmer is nicely connected to the FSC board. |
| 152 | |