Author Topic: TI MCUs driving me crazy  (Read 14073 times)

0 Members and 2 Guests are viewing this topic.

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4660
  • Country: us
Re: TI MCUs driving me crazy
« Reply #25 on: May 04, 2013, 05:54:37 am »
Quote
[to create the FPGA config] you create a block-diagram component
I know how to do it in PSoC creator (in theory, anyway.)  I was wondering how nctnico planned to do it in his standard eclipse environment...

I see that Cypress has a low-cost PSoC4 board ("compatible with Arduino shields"; snort.)  Cool.

One of the things that someone in the Cypress class I attended pointed out is that using the same IDE for writing the software AND configuring the FPGA cells would break the "common" separation of HW and SW engineering teams at many companies.  An interesting (and rather sad) observation.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 30301
  • Country: nl
    • NCT Developments
Re: TI MCUs driving me crazy
« Reply #26 on: May 04, 2013, 02:26:31 pm »
So how do I do the FPGA configuration for those PSoC devices?
Your advice boils down to "use separate tools instead of an integrated environment."  That may be fine advice, but...  Have you ever actually tried to put together a development environment (integrated or otherwise) for some embedded microcontroller, starting with the vanilla distributions of Eclipse, gcc, gdb, and etc?  It's pretty painful.
I don't know about the Psoc devices. But to get going you install CDT (Eclipse C development tools), install GCC for the microcontroller you want to use, create a new Eclipse project, open the settings and replace GCC with the name of the compiler you want to use and the same goes for the includes and library paths. This is not difficult at all.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline jmole

  • Regular Contributor
  • *
  • Posts: 211
  • Country: us
    • My Portfolio
Re: TI MCUs driving me crazy
« Reply #27 on: May 05, 2013, 01:09:11 am »
So how do I do the FPGA configuration for those PSoC devices?
Your advice boils down to "use separate tools instead of an integrated environment."  That may be fine advice, but...  Have you ever actually tried to put together a development environment (integrated or otherwise) for some embedded microcontroller, starting with the vanilla distributions of Eclipse, gcc, gdb, and etc?  It's pretty painful.
I don't know about the Psoc devices. But to get going you install CDT (Eclipse C development tools), install GCC for the microcontroller you want to use, create a new Eclipse project, open the settings and replace GCC with the name of the compiler you want to use and the same goes for the includes and library paths. This is not difficult at all.

Having to set up the library paths each time you create a new project seems like a pain in the ass. I mean, if you're on linux, and there's simply no other options, then sure, do what you will.  I prefer an IDE that works straight out of the box, and that works well. That's why I use PSoC Creator.

Unfortunately I've got a project on the horizon that involves something like 1024 or more digital output pins, so I'm going to have to make a foray into the world of real FPGAs, and their ages-old design environments.

Also, I put together a very quick tutorial on the verilog integration in Creator, you can see it here:


 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 30301
  • Country: nl
    • NCT Developments
Re: TI MCUs driving me crazy
« Reply #28 on: May 05, 2013, 08:27:20 am »
If you are developing with C / C++ then about every project needs library paths. Besides you can copy & paste them from a previous project. I have several template projects for various microcontrollers. I usually start a new project by copying one of those.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline andyturk

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: us
Re: TI MCUs driving me crazy
« Reply #29 on: May 05, 2013, 04:44:12 pm »
I prefer an IDE that works straight out of the box, and that works well.
I'm with you on the "assembly is (mostly) useless" front, but I'll take a well-crafted Makefile over an IDE any day.  ;)

Also, I put together a very quick tutorial on the verilog integration in Creator, you can see it here:
[/quote]
Very cool. My freesoc should arrive next week. Looking forward to playing with it.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

-->