Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

readme: Update README.rst to align with 1.1.0 release #1

Closed
wants to merge 1 commit into from

Conversation

mprinn
Copy link
Contributor

@mprinn mprinn commented Aug 9, 2016

Signed-off-by: Malcolm Prinn malcolm.prinn@intel.com

@jeez jeez mentioned this pull request Aug 9, 2016
@mcomyns
Copy link

mcomyns commented Aug 9, 2016

  1. This is the latest toolchain ? ISSM have not provided one that does not have 'alpha' in it ?

The toolchain is provided from both within the ISSM package or `standalone tarballs https://github.com/01org/qmsi/releases/tag/v1.1.0-alpha

  1. The applications are build in 'release' mode by default - not 'debug'

E.g. to build the hello_world example app (by default it will be built in
debug mode):
make –C examples/hello_world

  1. The naming on the toolchain provided in has changed since the initial one we provided - Can we just have this section the same as in the 'Environment' section (i.e. $HOME/issm_2016/)

You must first flash a bootstrap rom before flashing an application.
Assuming the toolchain was unpacked into $HOME/issm_2016.0.019/, this can be
done with:
$ cd $HOME/issm_2016.0.019/tools/debugger/openocd

  1. This part has insufficient information :
    (a) We need to specify to open a new terminal to start gdb
    (b) Only D2000 information is provided - we need to provide similar for C1000 ('x86'
    and 'sensor' addresses for loading C1000 applications for example.
    (c) Path to the ROM/Application file is incorrect - By default it is in the 'release' dir not 'debug' :
    $PATH_TO_QMSI/build/release/quark_d2000/rom/quark_d2000_rom.bin
    $PATH_TO_QMSI/examples/hello_world/release/quark_d2000/bin/hello_world.bin

$ gdb
(gdb) target remote :3333
(gdb) monitor clk32M 5000
(gdb) monitor load_image $PATH_TO_QMSI/build/debug/quark_d2000/rom/quark_d2000_rom.bin 0x0
(gdb) monitor load_image $PATH_TO_QMSI/examples/hello_world/debug/quark_d2000/bin/hello_world.bin 0x00180000

  1. This will not always be 'USB0'

You can check UART console output with picocom or screen:
$ picocom -b 115200 --imap lfcrlf /dev/ttyUSB0
or
$ screen /dev/ttyUSB0 115200

* OpenOCD is required to flash applications and ROM files onto the SoC.
* GDB is optional, it is used as a supplement to OpenOCD for debugging.
* `Intel® System Studio for Microcontrollers <https://software.intel.com/en-us/intel-system-studio-microcontrollers>`_ is optional.

* The toolchain is provided from both within the ISSM package or `standalone tarballs <https://software.intel.com/en-us/articles/issm-toolchain-only-download>`_.
* The toolchain is provided from both within the ISSM package or `standalone tarballs <https://github.com/01org/qmsi/releases/tag/v1.1.0-alpha>`_.
Copy link
Contributor

@jeez jeez Aug 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mprinn this is wrong. You are removing more up-to-date information.
Please drop this modification and keep the link pointing to the standalone tarball.

@mprinn
Copy link
Contributor Author

mprinn commented Aug 9, 2016

updated with associated comments, please check again.

``(gdb) monitor load_image $PATH_TO_QMSI/examples/hello_world/debug/quark_d2000/bin/hello_world.bin 0x00180000``
``(gdb) monitor load_image $PATH_TO_QMSI/examples/hello_world/release/quark_d2000/x86/bin/hello_world.bin 0x00180000``

For Quark™ C1000, the following commands are used to flash a ROM and application to the device:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We refer to this as 'Quark SE' in the 'SoC Targets / SoC Core' sections.

There seems to be some differences throughout the doc with reference to 'D2000' 'Quark D2000' 'Quark SE' etc... If we use 'Intel' or 'Quark' in the name then we have to use the FULL branded name ... but 'D2000' 'SE' or 'SE C1000' should be ok.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just use the names with Quark when we first introduce them (i.e. on the SoC Targets section) and then just use SE and D2000 elsewhere @mcomyns ? If yes, what do you think, @mprinn ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well they are introduced much futher up the line in hardware compatibility, but yes brevity and conformity would be better.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more of a trademark and branding issue . You cannot say 'Quark™ C1000' you have to have 'Intel(R) Quark(TM) microcontroller C1000'. We can use 'D2000' or 'SE' or 'SE C1000' for brevity in this doc. You just can't use the 'Intel' or 'Quark' without putting the full name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the overview even.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No - they are fine. Anywhere that has the full branded name is ok.

Just in the rest of the doc ... e.g. here we have 'Quark D2000' on one line and 'D2000' on the next. It's not that much of an issue.. just be nice to use the same names consistently

Both Quark D2000 and Quark SE are supported. You can select them by setting the SOC variable.
To build for D2000:

@jeez
Copy link
Contributor

jeez commented Aug 9, 2016

Almost there, @mprinn . I believe just one more round and we are done.

@mprinn
Copy link
Contributor Author

mprinn commented Aug 10, 2016

Third time's the charm?
Replaced all instances apart from the first one or two with just SE C1000 and D2000.
made sure the ® was after all Intels

done with:

``$ cd $HOME/issm_2016.0.019/tools/debugger/openocd``
``$ cd $HOME/issm_2016/tools/debugger/openocd``

``$ ./bin/openocd -f scripts/board/quark_d2000_onboard.cfg``
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One last thing :) Can we include the OpenOCD config file for the SE as well --- quark_se_onboard.cfg...

The rest looks fine.

Signed-off-by: Malcolm Prinn <malcolm.prinn@intel.com>
* Intel® Quark™ Microcontroller D2000 Development Platform.

External Dependencies
*********************

* The ISSM toolchain (version: 2016-05-12) is required to build the source code. It provides both the IAMCU and the ARCMCU toolchains (i586-intel-elfiamcu and arc-elf32, respectively).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the version from here? The dependencies file does not state the version, it must be added either here or there.

@jeez
Copy link
Contributor

jeez commented Aug 10, 2016

@mprinn last round for sure!

@mprinn
Copy link
Contributor Author

mprinn commented Aug 10, 2016

i highly doubt that, can you make the changes please

@jeez
Copy link
Contributor

jeez commented Aug 10, 2016

no problem, Malcolm. I had to create a new pull request so I could finish it. I'm closing this one.
Thanks for the work: #3

@jeez jeez closed this Aug 10, 2016
@jeez
Copy link
Contributor

jeez commented Aug 10, 2016

@mcomyns can you please review the README file on #3 instead ? It's the same from here with the addition of the ISSM toolchain version supported.

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

Successfully merging this pull request may close these issues.

3 participants