CVPal firmware flash help

Hi there Guys,

Unfortunately, I ran into a trouble with my CVPal.
I’ve re-designed the board for a Serge project, built it and now I’m in the firmware flash stage.
Actually, I can’t do it for some unknown reason…

I have a working chip from a kit, I’ve tried the board, it works with the chip, it seems the programming is the faulty point here.

I’ve used the following code to flash it:

avrdude -V -p t84 -c stk500v2 -P /dev/cu.usbmodem003109462 -B 10 -e -u
-U efuse:w:0xff:m
-U hfuse:w:0xd6:m
-U lfuse:w:0xde:m
-U lock:w:0x2f:m
avrdude -V -p t84 -c stk500v2 -P /dev/cu.usbmodem003109462 -B 1 -U flash:w:/Users/encoder/Desktop/cvpal.hex:i -U lock:w:0x2f:m

And this is what I’ve got back:
encoders-Pro:~ encoder$ avrdude -V -p t84 -c stk500v2 -P /dev/cu.usbmodem003109462 -B 10 -e -u \

.CFUserTextEncoding .gitconfig .tenorshare/
.DDLocalBackups/ .gnome2/ Applications/
.DDPreview/ .homebridge/ Desktop/
.DS_Store .jssc/ Documents/
.MCTranscodingSDK/ .languagenew Downloads/
.SoulseekQt/ .local/ Library/
.Trash/ .mcf/ MPLABXProjects/
.Xauthority .mplabcomm/ Movies/
.Zoeos_Layouts/ .npm/ Music/
.android/ .oracle_jre_usage/ Pictures/
.anydesk/ .rnd Public/
.arduino-create/ .rubberband.wisdom.d Soulseek Chat Logs/
.bash_history .serverauth.17202 Soulseek Downloads/
.bash_sessions/ .serverauth.1810 Thumbs.db
.cache/ .serverauth.25080 UltData_Serialize/
.config/ .serverauth.5918 Wine Files/
.cups/ .serverauth.59605 bin/
.d5w6rc .serverauth.68622 encoder/
.diylc/ .serverauth.75879 ipe.key
.dropbox/ .serverauth.8203 ipe.properties
.dvdcss/ .serverauth.9486 mpcmaid/
.eaglerc .serverauth.9690 ⁨Library/
.gervill/ .serverauth.976

-U efuse:w:0xff:m \

.CFUserTextEncoding .gitconfig .tenorshare/
.DDLocalBackups/ .gnome2/ Applications/
.DDPreview/ .homebridge/ Desktop/
.DS_Store .jssc/ Documents/
.MCTranscodingSDK/ .languagenew Downloads/
.SoulseekQt/ .local/ Library/
.Trash/ .mcf/ MPLABXProjects/
.Xauthority .mplabcomm/ Movies/
.Zoeos_Layouts/ .npm/ Music/
.android/ .oracle_jre_usage/ Pictures/
.anydesk/ .rnd Public/
.arduino-create/ .rubberband.wisdom.d Soulseek Chat Logs/
.bash_history .serverauth.17202 Soulseek Downloads/
.bash_sessions/ .serverauth.1810 Thumbs.db
.cache/ .serverauth.25080 UltData_Serialize/
.config/ .serverauth.5918 Wine Files/
.cups/ .serverauth.59605 bin/
.d5w6rc .serverauth.68622 encoder/
.diylc/ .serverauth.75879 ipe.key
.dropbox/ .serverauth.8203 ipe.properties
.dvdcss/ .serverauth.9486 mpcmaid/
.eaglerc .serverauth.9690 ⁨Library/
.gervill/ .serverauth.976

-U hfuse:w:0xd6:m \

.CFUserTextEncoding .gitconfig .tenorshare/
.DDLocalBackups/ .gnome2/ Applications/
.DDPreview/ .homebridge/ Desktop/
.DS_Store .jssc/ Documents/
.MCTranscodingSDK/ .languagenew Downloads/
.SoulseekQt/ .local/ Library/
.Trash/ .mcf/ MPLABXProjects/
.Xauthority .mplabcomm/ Movies/
.Zoeos_Layouts/ .npm/ Music/
.android/ .oracle_jre_usage/ Pictures/
.anydesk/ .rnd Public/
.arduino-create/ .rubberband.wisdom.d Soulseek Chat Logs/
.bash_history .serverauth.17202 Soulseek Downloads/
.bash_sessions/ .serverauth.1810 Thumbs.db
.cache/ .serverauth.25080 UltData_Serialize/
.config/ .serverauth.5918 Wine Files/
.cups/ .serverauth.59605 bin/
.d5w6rc .serverauth.68622 encoder/
.diylc/ .serverauth.75879 ipe.key
.dropbox/ .serverauth.8203 ipe.properties
.dvdcss/ .serverauth.9486 mpcmaid/
.eaglerc .serverauth.9690 ⁨Library/
.gervill/ .serverauth.976

-U lfuse:w:0xde:m \

.CFUserTextEncoding .gitconfig .tenorshare/
.DDLocalBackups/ .gnome2/ Applications/
.DDPreview/ .homebridge/ Desktop/
.DS_Store .jssc/ Documents/
.MCTranscodingSDK/ .languagenew Downloads/
.SoulseekQt/ .local/ Library/
.Trash/ .mcf/ MPLABXProjects/
.Xauthority .mplabcomm/ Movies/
.Zoeos_Layouts/ .npm/ Music/
.android/ .oracle_jre_usage/ Pictures/
.anydesk/ .rnd Public/
.arduino-create/ .rubberband.wisdom.d Soulseek Chat Logs/
.bash_history .serverauth.17202 Soulseek Downloads/
.bash_sessions/ .serverauth.1810 Thumbs.db
.cache/ .serverauth.25080 UltData_Serialize/
.config/ .serverauth.5918 Wine Files/
.cups/ .serverauth.59605 bin/
.d5w6rc .serverauth.68622 encoder/
.diylc/ .serverauth.75879 ipe.key
.dropbox/ .serverauth.8203 ipe.properties
.dvdcss/ .serverauth.9486 mpcmaid/
.eaglerc .serverauth.9690 ⁨Library/
.gervill/ .serverauth.976

-U lock:w:0x2f:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e930c (probably t84)
avrdude: erasing chip
avrdude: reading input file “0xff”
avrdude: writing efuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of efuse written
avrdude: reading input file “0xd6”
avrdude: writing hfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of hfuse written
avrdude: reading input file “0xde”
avrdude: writing lfuse (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of lfuse written
avrdude: reading input file “0x2f”
avrdude: writing lock (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of lock written

avrdude done. Thank you.

encoders-Pro:~ encoder$ avrdude -V -p t84 -c stk500v2 -P /dev/cu.usbmodem003109462 -B 1 -U flash:w:/Users/encoder/Desktop/cvpal.hex:i -U lock:w:0x2f:m

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e930c (probably t84)
avrdude: NOTE: “flash” memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file “/Users/encoder/Desktop/cvpal.hex”
avrdude: writing flash (7908 bytes):

Writing | ################################################## | 100% 1.57s

avrdude: 7908 bytes of flash written
avrdude: reading input file “0x2f”
avrdude: writing lock (1 bytes):

Writing | ################################################## | 100% 0.01s

avrdude: 1 bytes of lock written

avrdude: safemode: Fuses OK (E:FF, H:D6, L:DE)

avrdude done. Thank you.

encoders-Pro:~ encoder$

…yet, the thing is still not working.
It works with the other chip, so I think programming is the problem.
Any ideas?

A silly question.
Do I need a boooader?
Im not an expert, but I’ve just run the above task on a blank chip…

Tried it with EasyUploader, still no luck…

No you don’t need a bootloader, the commands given in the online instructions are the only commands you have to type to program a blank chip.

1 Like