@iseries
Tried again with your code got errors. Declared the ctra etc as int's earlier in the code and eliminated some errors. But
got errors further down in your code. Commented as you can see some lines out hoping just to get the output on the O scope but got nothing.
Confused.
Thanks
Martin
The registers and counters are built into the compiler.
They are defined in the COG.h include file that can be found here:"C:\Program Files (x86)\SimpleIDE\propeller-gcc\propeller-elf\include"
If you are unable to get there then that's why your compiler doesn't work.
As far as RDP or Remote Desktop Client.
"On your local Windows PC: In the search box on the taskbar, type Remote Desktop Connection, and then select Remote Desktop Connection. In Remote Desktop Connection, type the name of the PC you want to connect to, and then select Connect."
Incidentally, Mike's original test program (Test360.c) compiles without any changes needed in FlexProp.
It looks like you added declarations like int ctra to the code. These are wrong. If you want to access the actual hardware registers then you have to use the defines in "propeller.h" (included by "simpletools.h") which name the registers CTRA, FREQA, and so on. Note that these are upper case -- C is a case sensitive language!
Comments
@iseries
Tried again with your code got errors. Declared the ctra etc as int's earlier in the code and eliminated some errors. But
got errors further down in your code. Commented as you can see some lines out hoping just to get the output on the O scope but got nothing.
Confused.
Thanks
Martin
The registers and counters are built into the compiler.
They are defined in the COG.h include file that can be found here:"C:\Program Files (x86)\SimpleIDE\propeller-gcc\propeller-elf\include"
If you are unable to get there then that's why your compiler doesn't work.
As far as RDP or Remote Desktop Client.
"On your local Windows PC: In the search box on the taskbar, type Remote Desktop Connection, and then select Remote Desktop Connection. In Remote Desktop Connection, type the name of the PC you want to connect to, and then select Connect."
Mike
Incidentally, Mike's original test program (Test360.c) compiles without any changes needed in FlexProp.
It looks like you added declarations like
int ctra
to the code. These are wrong. If you want to access the actual hardware registers then you have to use the defines in "propeller.h" (included by "simpletools.h") which name the registersCTRA
,FREQA
, and so on. Note that these are upper case -- C is a case sensitive language!