Modifying the rtdx demo
1. note that there is no cdb file connected with this project
2. I cannot understand how the "build/Reload and Run" block runs anything
3. there is a warning that comes up in ccs when I run the program that it is not a BIOS/somethinge else program. I have had this warning before.
4. the only additional line that has been added to their cmd file is:
_RTDX_interrupt_mask = ~0x0000;
Other than the "this is not a bios program" error, this all seems to be working pretty well. I will slowly change this program until it resembles a motor control program, in the following order
1. change the configuration to use my custom cmd file so that the memory map works (or change mine so that it uses the standard memory map)
2. Add in a motor controller
3. Connect the RTDX blocks to the error.
4. Attempt to modify the plotting file.
RESULTS
c2812rtdxtest_2
1 - my program works with the RTDX line added to the custom cmd file. The demo then works using my custom cmd file.
c2812rtdxtest_3
2. added stuff from AFM14 (pid)
SAMPLE_TIME not defined
not a bios problem error came up twice
Plot does not display properly
motor does not turn properly
rebuilt afm 14 to check that motor turns using that one
only one bios error message - motor turns fine
thinking that it may be the monitoring that was slowing everything down, I tried running the progrem just from ccs but still had the same problem.
c2812rtdxtest_4
I will try checking the sample times in the RTDX stuff to SAMPLE_TIME
motor and plot still not working
0 Comments:
Post a Comment
<< Home