I was wondering if there is a software serial library for the D2000 already, somewhere.
If there isn't one, and I need more than just the two serial ports that are provided in hardware, should I consider it tenable to write one (probably only using GPIO interrupts)? If I write one, are there any gotchas to watch out for? —Or is there a software serial library for the D2000 already, somewhere?
Unfortunately no, there's no software serial library for the D2000. You can find the current documentation of the D2000 in issm_XXXX.X.XXX\firmware\bsp\1.1\doc\ (C:\issm_XXXX.X.XXX\firmware\bsp\1.1\doc\ on Windows), you should check the folders called html and pdf. The html folder includes all the information about the current API, in that section I suggest you to check group__groupUART.html in order to see the D2000's UART capabilities. In pdf you will find more technical information about the D2000's Microcontroller Software Interface 1.1.
I hope this information helps you.
I regularly get the ISSM toolchain from here:
I have the latest download for Linux from that link.
Now, one thing I know about that download is that it unpacks to something like (using
tree -L 3):
The content of that version.txt is:Archive Created: 2016-05-12 13:55 ARC Toolchain SHAs -- GCC - eac2ef4517fbb3c01c6ec0546df51702ffe24c41 - https://github.com/foss-for-synopsys-dwc-arc-processors/gcc CGEN - eda052d5db32004d4a0d62b86d80072132c2c855 - https://github.com/foss-for-synopsys-dwc-arc-processors/cgen NEWLIB - d29df8eea94deda85a42f3f6e4ef36dd0b93c883 - https://github.com/foss-for-synopsys-dwc-arc-processors/newlib GDB - 9ee9b7212ea0068190a4becc8d788e752cc7aec9 - https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb BINUTILS - bcbe0bfce780e426f2e3b78013cb49326ee76824 - https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb
Now, there is another version of this ISSM that I have earlier, and the only one in which I found a BSP, and it looks like this (with
tree -L 2):
But this setup, though it is the only one where I get a BSP when I need one (such as to flash the board's ROM from 0x00000000). I never got a BSP other than this one.
I have never seen the version 1.1 BSP that you allude to above. If you can point me where my setup is wrong, or where I can get the correctives, that would be greatly appreciated.
(I have noticed the formatting of the forum is weird, so I am attaching my tree dumps as TXT files.)
I'm afraid that I'm not following you. What I meant in my previous reply is that the documentation of ISSM is stored on the ISSM install files. If the BSP 1.1 doesn't appear on your files, then you probably have an outdated version of ISSM. I suggest you to install the newest version of ISSM, which can be downloaded from the following site: https://software.intel.com/en-us/intel-system-studio-microcontrollers.
The information I recommended you before is available on the installation directory, specifically under: C:\issm_XXXX.X.XXX\firmware\bsp\1.1\doc\ on Windows or in [Install_Path]/issm_XXXX.X.XXX/firmware/bsp/1.1/doc/ on Linux. The API available there contains, among other things, information about the D2000's UART interface in the file group__groupUART.html.
Just to clarify :
If you are using the ISSM standaolone toolchain you need to download the latest BSP from GitHub - https://github.com/quark-mcu/qmsi GitHub - quark-mcu/qmsi: Quark MCUs HAL
For the complete ISSM suite with IDE, libraries, documentation and BSP you need to download it from :
Linux : https://registrationcenter.intel.com/en/forms/?productid=2796 https://registrationcenter.intel.com/en/forms/?productid=2796
Yes, I was skipping the whole download all along, going only for the Linux toolchain, but I track that Git repository you linked to.
So perhaps my question now is this:
Where in the repository at https://github.com/quark-mcu/qmsi GitHub - quark-mcu/qmsi: Quark MCUs HAL do I find the equivalent of the directory under firmware/bsp/1.1 in the ISSM suite? Do I get the BSP only if I also get the full suite, or is it somewhere in that repository? I now have the 1.1 BSP, but only because I already downloaded the full ISSM suite on Peter's prompting.