...So the quick steps are:1. Erase the chip (avrdude will generally do this automatically when writing to flash). This will also clear any lock bits.2. Write your program to the chip via ICSP.3. Write the lock bits, for the m328p, lock bits = 0x3C. This will prevent further read/write access to flash via ICSP.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16