You can find the source code and supplements for this
article in Workshop26.zip at www.nutsvolts.com.
■ FIGURE 11. Upload the bootloader.
■ FIGURE 13. Save memory to file.
but we can add a second test to see if it really happened
and read the whole Flash using AVRStudio. This is useful since
it gives us a tool to inspect the entire Flash memory, which
■ FIGURE 14. Examine saved memory.
■ FIGURE 12. Read memory.
can come in handy in some debugging situations. To do this,
we want to reopen the AVR Programmer dialog as shown in
Figure 12, then click ‘Read.’ We are then asked to name
the file that will hold the saved data, as shown in Figure 13.
Now we can open the test.hex file in Programmer’s
Notepad [part of WinAVR], scroll down to the memory
location for 0x2000 as shown in Figure 14, then we can
see our 16 bytes (nested in the Intel Hex formatted line).
Well, that was entirely too much for one Workshop.
Next month, we will take what we’ve learned about
memory and build a bootloader. NV
■ FIGURE 15. Output shown in Bray’s Terminal.