Update firmware for Hex8-16 upload via terminal
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
W29C020V2.inoClean upx-arduino - 9.10 kB - 06/30/2021 at 00:48 |
|
|
W29C040-90B.pdfAdobe Portable Document Format - 342.42 kB - 06/30/2021 at 00:47 |
|
|
at29c256.pdfAdobe Portable Document Format - 262.68 kB - 06/30/2021 at 00:47 |
|
|
W29C020-90B.pdfAdobe Portable Document Format - 267.63 kB - 06/30/2021 at 00:47 |
|
|
W29C020.inoProgrammer code for the W29C020B for the new boardx-arduino - 9.20 kB - 06/29/2021 at 12:48 |
|
Stopped Working?
Fired up the programmer to program the system disk for MyCP/M V3, and it freezes:
Upload HEX8-16 to W29C020 Flash ROM (no SDP) Ready for upload S:0 A:0 A:80 A:100 A:180 A:200 A:280 A:300 A:380 A:400 A:480 A:500 A:580 A:600
Swapped the USB cable, the flash chip and cleaned the board to remove flux. Checked the HEX file and the GTK Terminal settings. No solution. Tried the older version of the code, same.
Actually there is no flow control, no data being sent (according tothe Nano LEDs), no movement on the data sent bar, so it has to be GTK Term is waiting for something or is stopped.
I have just completed a fresh Linux Mint Mate 20.2 install so it must be GTK Term or the USB port. I guessing its GTK Term.
Installed picocom and it uploaded the system hex file without problem but My CP/M V3 did not boot up. This is the part I hate. Trying to work out where the fault lies.
AlanX
Success
Reworked the code for the new board. Added a patch for the schematic error.
Here it is working:
And here are the boards:
Debugged
Had some problem with the Flash ROM chips from my MyCP/M V2. The chips (both W29C020Bs) had corrupted pages 0x001680, 0x001700, 0x001780, 0x001800, 0x001880, 0x001900 and 0x001A00. They even had exactly the same bad memory locations and values. It took me long time to believe the problem was the chips rather than my firmware. In the end I tried a new chip and it programmed fine. I suspect that when My CP/M crashed it was endlessly writing to these locations on both chips causing failure. The bad segments were in my CBIOS. So no wonder I could not understand what was happening.
Here is a happy MyCPM V2 and the Flash ROM Programmer:
AlanX
Reworking the existing Flash ROM programmer
A new PCB is coming that allows programming of larger capacity Flash ROM chips than the AT29C256. But it makes an excellent test bed for the firmware.
Here are the first and second generation Flash ROM programmers:
These programmers can only address 32x8kb in software. With two address latches (i.e. 74HC374) the address space expands to 512x8kb (or more).
HEX8-16 Support
The firmware interprets HEX8, line types 0 (data) and 1 (end of file), and the Hex16 line type 2 (extended segment address). Hex16 line type 3 (start segment address) is not supported. Using line type 2 allows access to 1M of address space.
Multiple hex files can be include in the upload file and files can be shifted (if appropriate) using line type 2.
Options
At the moment the firmware only support the AT29C256 but the plan is to support on the fly parameters for ROM size, Page size, Software Date Protection and Boot Lockouts.
Upload speed
Really there is no reason to upload data faster/slower than 9600 baud. No handshaking is required.
Schematic
Here is the new schematic. The current firmware is not compatible due to design changes:
Looking at the schematic now, I see a small error. A18 attaches to D7 rather than D4. No matter I can fix it if there is a new generation.
AlanX
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More