Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with AT28C256 Reading / Writing #10

Open
datapaganism opened this issue Sep 26, 2024 · 7 comments
Open

Issues with AT28C256 Reading / Writing #10

datapaganism opened this issue Sep 26, 2024 · 7 comments

Comments

@datapaganism
Copy link

Hello I have bought the relatively universal programmer and did the rev 2 mod on mine, I am running the latest FW at the moment and am I having problems flashing / reading from the board

I have a file called 1.bin which is 32Kb of random data, and another which is a dump from the Chip after I flash it

image

Reading the eeprom after writing to it reveals that only some of it has been properly burned.

20240926_192523

Is the setup of my programmer, I believe I have set the jumpers correctly.

Given that I can burn and read it, its not 100% dead is it?

log is

PS D:\dev\firestarter-1.0.13> firestarter write at28c256 .\1.bin
Writing to chip: AT28C256
Connected to programmer
Reading from input file: .\1.bin
Sending file .\1.bin in blocks of 512 bytes
100%, address: 0x7E00 - 0x8000
File sent successfully in 339.49 seconds
PS D:\dev\firestarter-1.0.13> firestarter read at28c256
Reading chip: AT28C256
Connected to programmer
Output will be saved to: AT28C256.bin
100%, address: 0x7E00 - 0x8000
Finished reading data
Data received in 7.10 seconds

Am I doing something wrong?

@henols
Copy link
Owner

henols commented Oct 2, 2024 via email

@datapaganism
Copy link
Author

Cannot update to 1.1.20

PS D:\dev\firestarter-1.0.13> pip install firestarter==1.1.20
Collecting firestarter==1.1.20
  Using cached firestarter-1.1.20-py3-none-any.whl.metadata (8.1 kB)
Collecting argparse (from firestarter==1.1.20)
  Using cached argparse-1.4.0-py2.py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: pyserial in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from firestarter==1.1.20) (3.5)
Requirement already satisfied: requests in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from firestarter==1.1.20) (2.32.3)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from requests->firestarter==1.1.20) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from requests->firestarter==1.1.20) (3.7)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from requests->firestarter==1.1.20) (2.2.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\afk\appdata\local\programs\python\python38\lib\site-packages (from requests->firestarter==1.1.20) (2024.8.30)
Using cached firestarter-1.1.20-py3-none-any.whl (64 kB)
Using cached argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Installing collected packages: argparse, firestarter
  Attempting uninstall: firestarter
    Found existing installation: firestarter 1.1.18
    Uninstalling firestarter-1.1.18:
      Successfully uninstalled firestarter-1.1.18
Successfully installed argparse-1.4.0 firestarter-1.1.20
PS D:\dev\firestarter-1.0.13> firestarter
Traceback (most recent call last):
  File "c:\users\afk\appdata\local\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\afk\appdata\local\programs\python\python38\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\afk\AppData\Local\Programs\Python\Python38\Scripts\firestarter.exe\__main__.py", line 4, in <module>
  File "c:\users\afk\appdata\local\programs\python\python38\lib\site-packages\firestarter\main.py", line 22, in <module>
    from . import ic_layout as ic
  File "c:\users\afk\appdata\local\programs\python\python38\lib\site-packages\firestarter\ic_layout.py", line 167
    print(f"Flags Value: 0x{eprom["flags"]:08X}")
                                   ^
SyntaxError: invalid syntax
PS D:\dev\firestarter-1.0.13>

@henols
Copy link
Owner

henols commented Oct 3, 2024 via email

@henols
Copy link
Owner

henols commented Oct 3, 2024 via email

@datapaganism
Copy link
Author

Updated firestarter but got the same result
Here is my powershell log

PS D:\dev\firestarter-1.0.13> firestarter write at28c256 .\1.bin
Writing to chip: AT28C256
Connected to programmer
Reading from input file: .\1.bin
Sending file .\1.bin in blocks of 512 bytes
100%, address: 0x7E00 - 0x8000
File sent successfully in 340.03 seconds
PS D:\dev\firestarter-1.0.13> firestarter read at28c256
Reading chip: AT28C256
Connected to programmer
Output will be saved to: AT28C256.bin
100%, address: 0x7E00 - 0x8000
Finished reading data
Data received in 7.23 seconds

@henols
Copy link
Owner

henols commented Oct 4, 2024

Have youi updated th FW?
firestarter fw --install

@datapaganism
Copy link
Author

datapaganism commented Oct 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants