First off, let me note that everything I’m discussing here is purely academic, just for the sake of discussion. I do not plan on writing any competition code in anything but RobotC.
I was curious if anybody knew of a publicly available assembler or GCC cross compiler for the processor unit within the cortex. RobotC is great for competition, not so great for experimentation for non VRC type stuff.
According to the VEX product page, it contains a STMicroelectronics ARM® Cortex® M3. It also gives specs: 90 MIPS instruction rate, 64KB RAM, 384KB flash storage. This is about all the information I can find on the hardware from VEX. (OFC we can safely assume this is ARM32 architecture)
Now for a separate and unrelated topic:
Does RobotC have support for serial comms over USB? I stumbled across the UART serial commands, which are helpful, but I’d prefer USB because one thing I’d be interested to test has USB connector which is easy to use.
@factorsofx ah most interesting. Thank you for pointing that out, I’ve never seen it. It also appears to be open source, which would answer my first question. I will just dissect that and take a look at the toolchain.
Ok, so just too update anyone who may be interested, after a quick look at the PROS kernel src, the cortex is evidently in the STM32F10x tree (based on include for this header). I will continue to look into the PROS src for more information about the STM processor and the service processor, but from what I currently know I’m reasonably confident that the STM processor (user) is one of the three from the STM32F103 line:
-STM32F103RD
-STM32F103VD
-STM32F103ZD
If I can’t find it in PROS, I may be able to test high voltage to make the determination once season starts up again and I have access to a cortex.
Assuming you mean this document, you should take it with a grain of salt-- upon further investigation while we were working on improving the flasher, I found that there were some inaccuracies (e.g. the stuff about parity).
I mean the process is the same. Some technicalities about the handshake, especially with changing parity are incorrect based on final analysis and what IFI does (but was originally based on what ROBOTC, EasyC, and formerly PROS did).
Has anyone considered the new GNAT MAKE Contest that will with $16,000 total prizes for using GNAT Ada? It supports a lot of Linux platforms and devices including the new Raspberry Pi 3 and also supports Lego Mindstorm.