Page 1 of 2

Debugger infrastructure and autodiscovery

Posted: Thu Feb 23, 2023 10:30 am
by oqin
Hello,

Just to play with new platform, I bought a "Thing Plus – QuickLogic EOS S3". As soon as it arrived, I connected it to my SWD debugger and tried to enumerate it.

As intended by ARM debug infrastructure, it enumerates well, but there are a few overlooks (implementation bugs) that could probably be fixed in future HW revisions:
  • DP IDR is 0x2ba01477, which means it implements DPv1 (See IHI0031G B2.2.5), this is perfectly valid, then target identification should be done through Base ROM Table (See ARM IHI0031G D1.3.1),
  • Nonetheless, SW-DP TargetID register (Bank 2, address 0x4) is implemented and contains 0xf0000041, which decodes to STMicro's Jedec ID (Cont=0, ID=0x20, i.e. idcode[11:0]=0x041) (but quite close to V3 semi's ID (Cont=1, ID=0x41, i.e. idcode[11:0]=0x183) (bug ? see below)),
  • Base ROM Table (the one at 0xe00ff000) is supposed to contain a PID matching the target device. It contains PID=00000004000bb4c4. This is an ARM identifier (probably the default in CM4 source code), but there should have been a QuickLogic ID there.
About Jedec IDs, in EOS S3 TRM (r1.01a), page 34, in table 3-2, there are various component IDs and decoded Jedec IDs, but you seem to totally forget about Jedec continuation code (bits 11-8 of a JTAG IDCODE or bits 3:0 of PID4 -- See ARM's IHI0029E B2.2.2). This seems to be confirmed by TargetID above, where we are missing the 0x1 continuation code and have shifted ID.

Now the questions I could not answer with the TRM:
  • Is there a SoC ID somewhere in a read-only memory-readable region that could confirm this is an EOS-S3 chip that i'm actually talking to ?
  • Is there a "Die-ID" or other per-instance unique ID register mapped somewhere ? Maybe in fuses ?
Thanks.

Re: Debugger infrastructure and autodiscovery

Posted: Mon Apr 15, 2024 3:01 am
by spurgenotion
Have any update about this issue?

slice master

Re: Debugger infrastructure and autodiscovery

Posted: Tue May 07, 2024 7:20 am
by salmawisoky
Does anyone have any ideas?

Re: Debugger infrastructure and autodiscovery

Posted: Fri Jun 14, 2024 10:01 am
by NadiaEira
Did you find the resolve?
cookie clicker 2

Re: Debugger infrastructure and autodiscovery

Posted: Wed Jul 10, 2024 4:39 am
by EmmaAlva
Do you have any new information regarding this problem?


tiny fishing

Re: Debugger infrastructure and autodiscovery

Posted: Fri Aug 23, 2024 3:58 am
by Joshua236
If you can't find this information in TRM, contactretro bowl QuickLogic support or the community forums for more details from others who have run into similar issues.

Re: Debugger infrastructure and autodiscovery

Posted: Tue Sep 24, 2024 3:30 am
by felixandrea
Typically, SoC chips will have a read-only memory (ROM) area that contains the chip ID. You can check to see if there is an area in the technical documentation (TRM) or through the system registers to determine the SoC ID. If there is no specific information in the TRM, you can try searching in the support documents from QuickLogic or ask their technical support directly.

Some SoCs may have registers that contain information unique to the chip, which may be located in fuse registers or other memory areas. You should refer to the TRM to find out what these registers are. If you do not see the information, you can also ask QuickLogic for confirmation.

If you have additional questions or need more specific assistance, let me know!

Re: Debugger infrastructure and autodiscovery

Posted: Thu Oct 31, 2024 4:14 am
by EthanFinn
It sounds like you've encountered some issues with the "Thing Plus – QuickLogic EOS S3" that you recently purchased. The enumeration process seems to be working as intended by the ARM debug infrastructure, but there are some implementation bugs that you've identified.

Re: Debugger infrastructure and autodiscovery

Posted: Wed Nov 06, 2024 1:38 am
by alexreynolds
To confirm that you are interacting with an EOS-S3 chip, you can refer to the technical reference manual or datasheet provided by the manufacturer. Look for sections related to identification registers or system configuration, which usually detail how to read the SoC ID.

Re: Debugger infrastructure and autodiscovery

Posted: Mon Dec 02, 2024 7:25 am
by Bradley Fields
Not yet. Have you tried to look for a unique SoC ID in the device's memory map. This could be a specific register or a value stored in a specific memory location.