This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am developing an application on a TMS320C28346 processor using SYS/BIOS. Right now it's just a barebones app to get my task architecture and inter task communication functioning.
I am preparing my application to be loaded and booted from the EEPROM.
It is my understanding that I need to replicate the actions within the GEL file.
Among these are setting the AMODE and OBJMODE bits of Status Register 1 (ST1). I have found references to ST1 in multiple documents, but nothing that indicates the address of this register. Is this an oversight? Are there obscure calls to set these bits that I'm simply not aware of?
See table 6-2 in the cpu user guide: http://www.ti.com/lit/ug/spru430e/spru430e.pdf. I think you can call these in C directly by using the "asm()" directive.
Frank,
The ST0 and ST1 are core status registers which reflect the values based on certain instruction execution.
To set the AMODE and OBJMODE, you'll have to use the instruction "SETC OBJMODE"
Please refer the C28x Instruction Set Reference guide for information on how to access these registers using C28x instructions.
-Vaish