cancel
Showing results for 
Search instead for 
Did you mean: 

Zero page - problem compile with Metrowerks

omatza
Associate II
Posted on November 02, 2005 at 06:22

Zero page - problem compile with Metrowerks

12 REPLIES 12
Viktor POHORELY
ST Employee
Posted on November 01, 2005 at 05:02

small explanation to Stack Pointer - it is 16bit register, but high byte is forced to 1 by hardware all the time, and low byte is set as 0xFF after reset. It is stated in most of ST7 datasheets, where you have chapter ''Central Processing Unit''. It is not in FMC, because this datasheet is focused to motor control periphery and datasheet will be too long (now 300 pages...).

omatza
Associate II
Posted on November 01, 2005 at 06:38

Hello Setler

That was a good notice.

I see I have to read some data sheet about ST7 family in general.

I looked at:

http://www.st.com/stonline/stappl/productcatalog/app?path=/pages/stcom/PcStComDocumentTableView.showTechlitTreeDocs&level0=101&level1=783&level2=109&level3=0&doctype=1&doctypecode=ds&enttype=4&tname=TL_DATASHEET_TREE_X_DOC&latest=N

but there wsn't something like this.

There were lots of documents, but related to specific MCUs.

I will be happy to get an hint (or attachment) what to read.

:)

Thanks

Oren

Viktor POHORELY
ST Employee
Posted on November 02, 2005 at 06:22

Hello Omatza,

you can find some basics about CPU e.g. in 32x family datasheets. Don§t use LITE datasheet, because there is smaller stack, so there are more bits forced by HW in SP.

In general, there should be some online training on the web. Im not aware about some general description as datasheet...

BR

Viktor