Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: CCS with Hercules RM48 board / experience

$
0
0

Hello,

I have Hercules RM48 board and latest CCS "Version: 5.4.0.00091" and Halcogen "03.05.02". Below you have my general user experience compared to other GUIs fo embedded boards.

Board came with nothing in flash I think -- I'd expect to get something in flash, so at least I could quickly verify UART/Ethernet works OK on my board.

Anyway: I compiled "Hello world" example project with RM48 950 chip selected. I can't find anything to upload program to the board. I'd expect "Run"->"Load" to be this option. However the only thing there is "Verify program" and it doesn't work. So I did "Debug". It found the device, erased the whole Flash without asking me, and started doing something, but I go zero feedback on what's actually happening.

My expectation was that "Hello world" from CCS should print something on COM port. I have a connection via PuTTY on COM13. Nothing showed up. When I stopped the debugger, it was in 0x4 address, which implies memory fault (?)

So I just suspect this example flow doesn't work and should be removed from the menu. Halcogen must be use to initialize PLLs etc..

BTW, I'd expect to be able to run things from DDR or SRAM, instead of writing Flash each time.

Next I made myself "p2" project, generated files with Halcogen and they got inserted to the CCS project. First experience: Halcogen generates .c files in source/ while .h files in include/. So in CCS, in Project options, you must add "include" to the search directory by hand.

printf() is undefined... I'd expect printf() to be the function that would generate something on the UART.

Are the any examples of a real "Hello world"?


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>