Hi, I am new to this forum.
I am using TMS320DM6446 EVM with an emulator, using CCS5.3 in Windows 7. I have read through the SPRUE documents and related forum posts.
I try to test the GPIOs by modifying the registers GPIO_DIRxx and OUT_DATAxx, setting the GPIOs to output mode and set some of the bits. I found that except several GPIO pins (specifically pins 4, 6-7, 37-42, 48, 50-51), the others won't let me modify their values nor their directions. I can still set the OUT_DATAxx registers but the IN_DATAxx never behaves. Seems like something is masking the GPIOs. I need to use at least 33 (!) GPIOs for my project.
I tried both calling libraries from davincievm_gpio.h and writing the codes myself. I have used DAVINCIEVM_GPIO_init();. I tried both OUT_DATA, SET_DATA, CLEAR_DATA. I read about not using simulator but hardware, but not sure what it means.
Is there something wrong with the configuration? Or do I need to do something with the environment? Thanks a lot!
Cheers,
AL