-
Notifications
You must be signed in to change notification settings - Fork 164
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
jtag-probe: JEDEC manufacturer lookup fails for bank 15 #511
Comments
There isn't an off by one in the code; the problem is that new manufacturer IDs have been added since the last update of the database in Glasgow, and the code deals badly with an out-of-bounds bank number (which I fix in #512). I'd gladly update the database if you can point me to a newer version of JEP106 PDF. |
Oh huh. The PDF is actually a free download. I'll just update the database then. |
Thanks for the fix in #512. The device that I'm scanning isn't particularly new (so the update doesn't help me in this case), I think it just reports a bogus manufacturer ID. |
I am trying to scan a device with IDCODE=0x07926f0f, manufacturer=0x787, but
jedec_mfg_name_from_bank_num
fails:The
_manufacturers
array contains bank 1 to bank 15, which amounts to 15 banks (not 16), so bank 15 is out of bounds.I suspect that the JEP106 conversion script might have an off-by-one error and generate one too few entries, but I might also be misunderstanding how these manufacturer IDs and banks work.
The text was updated successfully, but these errors were encountered: