I found this and download. It uses amongst others, pickit2 to flash atmega328 with no bootloader apparently.
I have a uno with socketed 28dip 328p but it has a bootloader and suppose I got to erase it.
Anyone come across it ? https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
@Anobium... What/how does Gcb make hex file for mega328p?
I found the p means it has a bootloader which is stored in program memory??
So does Gcb make the program start after the bootloader in program memory?
If I got a blank atmega328 and got averdudess to flash a Gcb hex file, would it work?
around £1.50 for the 328p Farnell...now I see how nice a nano is...and 2 more ad ports?
I got a 40 pin zif board that plugs into pickit2/3. I doubt the isp pins would be the same as pic.
I usually mess things up when I experiment,time on my hands with staying home.
Last edit: stan cartwright 2020-04-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The AVRdudess GUI For AVRDude is included with your installation of Great Cow Basic. It is located in the AVRdude Folder.
The "p" in Mega328p does NOT mean the Microcontroller has a bootloader. The p version has a different device signature and uses less power than a 328. The Mega328p is a different but similar chip than the Mega328 .
If you use AVRDude\AVRDudess with a Pickit 2 Programmer it will erase your bootloader. You do not need a bootloader when a Pickit2 is used for programming.
I posted information here on how to use a Pickit2 with an AVR (mega328p). I am bewildered as to why you are posting this here now and asking questions that have already been answered.
I had forgotten about that post, sorry. I try to use gcb on a need to know basis or it can get complicated.
Lots of wrong info like the p suffix.
This came about from using a 3.3V logic glcd and wanting the chip to run at 3.3V.
A pic ran fine and stable.
Microchip says 328p runs 1.8V to 5.5V.
Reading posts/guides says only only 12MHz at3.3V.
It seem I can remove the nano 5V reg and resolder a 3.3V one and it'll work from the usb lead at 3.3V logic.
Strange usb 5V going into a 5V reg.
What happens to the 3.3V used on board if I change the reg to 3.3V?
I should just use a pic for this because it works and no xtal/caps, 18F25K22,
rather than use a bare 328p.
It seems the 328p bootloader is 512 bytes which leaves 31.5K ?? Plenty really, if that's right.
After adding a new xtal and caps I might as well use a nano.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found this and download. It uses amongst others, pickit2 to flash atmega328 with no bootloader apparently.
I have a uno with socketed 28dip 328p but it has a bootloader and suppose I got to erase it.
Anyone come across it ? https://blog.zakkemble.net/avrdudess-a-gui-for-avrdude/
https://www.youtube.com/watch?v=wh78teg5EJ0
Last edit: stan cartwright 2020-04-11
@Anobium... What/how does Gcb make hex file for mega328p?
I found the p means it has a bootloader which is stored in program memory??
So does Gcb make the program start after the bootloader in program memory?
If I got a blank atmega328 and got averdudess to flash a Gcb hex file, would it work?
around £1.50 for the 328p Farnell...now I see how nice a nano is...and 2 more ad ports?
I got a 40 pin zif board that plugs into pickit2/3. I doubt the isp pins would be the same as pic.
I usually mess things up when I experiment,time on my hands with staying home.
Last edit: stan cartwright 2020-04-11
The AVRdudess GUI For AVRDude is included with your installation of Great Cow Basic. It is located in the AVRdude Folder.
The "p" in Mega328p does NOT mean the Microcontroller has a bootloader. The p version has a different device signature and uses less power than a 328. The Mega328p is a different but similar chip than the Mega328 .
If you use AVRDude\AVRDudess with a Pickit 2 Programmer it will erase your bootloader. You do not need a bootloader when a Pickit2 is used for programming.
I posted information here on how to use a Pickit2 with an AVR (mega328p). I am bewildered as to why you are posting this here now and asking questions that have already been answered.
You may want to read this again:
https://sourceforge.net/p/gcbasic/discussion/chipfileforum/thread/4ad18a219a/
William
Last edit: William Roth 2020-04-11
@Stan. Bill is spot on.
Unless you need to write your HEX to the AVR for very specific reasons - just use the bootloader.
I had forgotten about that post, sorry. I try to use gcb on a need to know basis or it can get complicated.
Lots of wrong info like the p suffix.
This came about from using a 3.3V logic glcd and wanting the chip to run at 3.3V.
A pic ran fine and stable.
Microchip says 328p runs 1.8V to 5.5V.
Reading posts/guides says only only 12MHz at3.3V.
It seem I can remove the nano 5V reg and resolder a 3.3V one and it'll work from the usb lead at 3.3V logic.
Strange usb 5V going into a 5V reg.
What happens to the 3.3V used on board if I change the reg to 3.3V?
I should just use a pic for this because it works and no xtal/caps, 18F25K22,
rather than use a bare 328p.
It seems the 328p bootloader is 512 bytes which leaves 31.5K ?? Plenty really, if that's right.
After adding a new xtal and caps I might as well use a nano.