I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.
Any ideas? I'd like to get this tester working again.
i dont know what pcb is in that unit, but try the GM328x firmware i post sometimes.
Thanks for posting, but your firmware has the rotary encoder enabled. This model has no encoder.
Here is a link that shows the circuit board in this thing and a firmware that I tried.
No mater which firmware I flash, it acts like it isn't programmed. When flashing with USBASP at 3.3V, it wouldn't verify. Flashing at 5V does verify. I'm thinking that perhaps the uC chip is flakey.
my builds dont need the rotary encoder.
I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.
Any ideas? I'd like to get this tester working again.
Does the tester stay powered on (LED and/or display backlight lit) for a few seconds after pressing the button?
Then it might be an erased or bad MCU. The first thing the firmware does is setting PD6 high to keep the tester powered on.
Goodday,
I have this banggood tester M12864 and the processor is broken. I have found out that it is the ST7565 display so i downloaded the software from
https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328_st7565/ and programmed it into a new processor.
The problem is that with the Galep III programmer i use i only can open a Hex file and i don't know what to do with the eep file.
When i program the processor and put it back and push the rotaty it turns on again and the display light up. but no text, it looks like the contrast is not setup right maybe because i did not programmed the eep file.
Now is my question the hex file from the svn browser contain that the complete file with the eep file, if now how can i program that with the galep III ?
I see something happens now on display but the contrast is max/low so not readable. How can help me with this ?
The eep file needs to be written into the MCU's EEPROM and it contains a lot of text, tables and settings, like the contrast for the LCD.
the eep file is HEX format.
just rename it to eeprom.hex or something.
Thanks, then i will find out in the galep software how i can put the eep at the right place. Thanks for the info !!
I will let you know if it works, i will try tomorrow.
For the Banggood M12864 I always used this firmware:
https://www.mikrocontroller.net/svnbrowser/transistortester/Software/trunk/mega328_st7565_kit/Regarding the eep file, can you plese post a screenshot of the software you are using to program the Atmega328p after you selected the device to be programmed?
Are you sure that there isen't a tab or a sub-menĂ¹ where you can select/program the eeprom content of the MCU?
The programmer should be able to program the flash memory of the MCU and the internal eeprom at the same time. You should find also the menu/tab to set the proper fuses
Mauro
I have managed to program the mpu, i opened first the hex file and later on the eep file in a new section and copy and past the data on the main field on the right adress for the eeprom.
Now is it working again but very slow, but this was a other hex i found.
So now i will try the version from the trunk mentioned above.
I have tryed the mega328_st7565_kit file and it is working but the unit is very slow.
The x-tal is 8 Mhz.
Any idea's ?
Possibly the fuse settings, i.e. the 1:8 clock divider (the MCU is running at 1MHz).
Aha oke and what are the correct fuse settings ?
For an 8MHz crystal it's:
- lfuse f7
- hfuse d9
- efuse fc
Super Super thanks for all the help, it works again !!!
Thanks all for all the help.
For an 8MHz crystal it's:
- lfuse f7
- hfuse d9
- efuse fc
Hello, and the fuses for Mega328P with 16 MHz crystal?
A greeting
Possibly the fuse settings, i.e. the 1:8 clock divider (the MCU is running at 1MHz).
Ich think so, too. When I first programmed 1.26m, I did the same by mistake...
Hello, and the fuses for Mega328P with 16 MHz crystal?
... are the same, because the clock divider stays 1:1.
Yes that was the problem, now it works.
I have tried four different firmwares, including two that purport to be MK-328 specific versions. All of them program and verify. When pressing the on/test button, all I get is the backlight on the LCD. From what I read here, this indicates that no firmware is programmed. However, like I said, I did get a 100% verify on the EEP and HEX files. I did also program the fuses with the recommended settings.
Any ideas? I'd like to get this tester working again.
Why don't you just post what your fuse settings are?
Fuse settings are what Madres just posted a bit ago.
I suspect the uC is flakey. I ordered a replacement.
If it's in a socket, the problem could also be purely mechanical, like a bent pin or bad solder joint.