Other Parts Discussed in Thread: CONTROLSUITE
Hello,
Since I got the Concerto Control card I've been testing the samples provided by the ControlSuite Software. I had no problems connecting it to the computer and entered debug mode (followed the steps to make a new project, outside ControlSuite folder, this information is on the pdf file F28M35x Firmware Development Package available in the doc folder of F28M35, in the ControlSuite).In this file there are instruction on how to assign different code to each of the cores and shows how to debug them, the examples codes are to program the master (M3) to blink the first 8 bits of the GPIO (GPIO0-7) and the control (F28335) for other 8 bits (GPIO 8-15).
Everything went ok till I tried to monitor the outputs bits using an oscilloscope. Most of the Control bits were OK, but the Master bits were not working. 2 problems here!
1- I said most of the bits because (in the code) it is written: "GpioDataRegs.GPADAT.all = 0x0000FF00;" during debuging the address has "0x00007F00" instead of the desired 0x0000FF00 (meaning Bit 15 isn't changing or is changing outside this code). Analyzing the assembly code for these lines (I'm no expert, don't know what is DP, or @0x0, but understand MOVL and by comparison, the 0x00FF00 :)
0x00804C: 8F00FF00 MOVL XAR4, #0x00ff00
0x00804E: 761F017F MOVW DP,
#0x17f
0x008050: A800 MOVL @0x0,
XAR4
0x008051: FF69 SPM #0
Only when PC goes to 0x008051 the register (GPIOG1DAT.GPADAT) is updated with the 0x00007F00 value.
2- After realizing none of the master bits were showing up on the oscilloscope decided to monitor the register for GPIO_PORTA.GPIODATA on the Master core, the one that was supposed to be changing as seen in the code: "GPIOPinWrite(GPIO_PORTA_BASE, 0xFF, 0xFF);". It isn't being updated.
To discard any possibility of a misconfigured system/software (linker commands, build options) tried to run the blinky.c example for the Control Suite F29m35 master folder and soon realized that although the led was blinking, the register for PORTC wasn't (also) being updated.
I missed something? The registers are being called from the menu View -> Registers.
Any suggestions are welcome.
Thank you for your time,
Rui Ventura


