You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might help out some TommyPROM Tera Term users. Then again, I may just be the dumbest one in the class. 🙂
I was trying to program an Atmel 29c256 (32K x 8) EEPROM. I kept getting errors using the W(rite) command. TommyPROM would report:
ERROR: Unexpected character received waiting for next packet. char=49 seq=1
I finally figured out what I was doing wrong. I was using Tera Term's File > Send File menu option (with the Binary checkbox checked), instead of the File > Transfer > XMODEM > Send option.
Once I used the correct Tera Term option, my file was written to the EEPROM successfully.
Duh. I knew that TommyPROM used the XMODEM protocol to send and receive files, but didn't know there was a separate menu option in Tera Term for selecting the XMODEM protocol. (Now that I think about it, it would have to be a separate option, since it's a separate protocol).
By the way, if anyone else needs to program Atmel 29c256 chips, I can confirm that you can use the default TommyPROM.ino sketch (which defaults to using an Atmel 28c256 chip). The only thing you have to do is switch the wires connected to the 29c256 chip's pin 1 and pin 27: move the /WE wire (from the Nano) from pin 27 to pin 1 and the A14 wire (from the upper shift register) from pin 1 to pin 27. With that minor change you can use the default TommyPROM.ino file to program the 29c256 chip.
Note that this is not true for the larger 29c chips, like the 29c020 (256K x 8) and 29c040 chips (512K x I). Besides being 32-pin chips, they require special code to handle their larger buffer sizes. See the TommyPROM docs for more details.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This might help out some TommyPROM Tera Term users. Then again, I may just be the dumbest one in the class. 🙂
I was trying to program an Atmel 29c256 (32K x 8) EEPROM. I kept getting errors using the W(rite) command. TommyPROM would report:
ERROR: Unexpected character received waiting for next packet. char=49 seq=1
I finally figured out what I was doing wrong. I was using Tera Term's File > Send File menu option (with the Binary checkbox checked), instead of the File > Transfer > XMODEM > Send option.
Once I used the correct Tera Term option, my file was written to the EEPROM successfully.
Duh. I knew that TommyPROM used the XMODEM protocol to send and receive files, but didn't know there was a separate menu option in Tera Term for selecting the XMODEM protocol. (Now that I think about it, it would have to be a separate option, since it's a separate protocol).
By the way, if anyone else needs to program Atmel 29c256 chips, I can confirm that you can use the default TommyPROM.ino sketch (which defaults to using an Atmel 28c256 chip). The only thing you have to do is switch the wires connected to the 29c256 chip's pin 1 and pin 27: move the /WE wire (from the Nano) from pin 27 to pin 1 and the A14 wire (from the upper shift register) from pin 1 to pin 27. With that minor change you can use the default TommyPROM.ino file to program the 29c256 chip.
Note that this is not true for the larger 29c chips, like the 29c020 (256K x 8) and 29c040 chips (512K x I). Besides being 32-pin chips, they require special code to handle their larger buffer sizes. See the TommyPROM docs for more details.
Beta Was this translation helpful? Give feedback.
All reactions