Forum > Embedded

Cypress PSoC microcontrollers

<< < (2/3) > >>

julkas:

--- Quote from: MiR on August 28, 2019, 05:58:06 pm ---So I guess unless someone else already has a solution for you the chances to programm the cypress cpu's in FreePascal are slim to none.

--- End quote ---
Bad news.

avra:
The only reason to justify (relative) higher price of PSoC is PSoC Creator IDE and it's visual programming GUI with built in and custom made peripheral components which can save some of the external hardware logic. If you cut that out then not much reasons are left for Pascal IDE which would not rely on PSoC Creator IDE (and such integration would be hard to achieve with such closed source IDE). And if you do not need peripheral components that badly, then something like STM32 has much better pricing and already has FreePascal support.

MarkMLl:

--- Quote from: avra on August 29, 2019, 09:10:45 am ---The only reason to justify (relative) higher price of PSoC is PSoC Creator IDE and it's visual programming GUI with built in and custom made peripheral components which can save some of the external hardware logic. If you cut that out then not much reasons are left for Pascal IDE which would not rely on PSoC Creator IDE (and such integration would be hard to achieve with such closed source IDE). And if you do not need peripheral components that badly, then something like STM32 has much better pricing and already has FreePascal support.

--- End quote ---

What programmer does FPC support for that?

A minor caveat is that if you buy one of the cheap STM32 "Blue Pills" for experimentation using the Arduino IDE you also need an STLink programmer to get the boot loader on and need to solder a pullup resistor.

MiR:
fpc supports debugging and programming with various probes, the major requirement is that a gdbserver for your debug probe is available.

Segger JLink is the best solution overall because it works flawlessly on Mac, Windows and Linux. Costs are $20-$50 for Edu.

Those cheap Aliexpress STLink Clones also work for them I'd highly recommend to flash them with Blackmagic:

https://github.com/blacksphere/blackmagic/wiki/Debugger-Hardware





 

avra:

--- Quote from: MarkMLl on August 29, 2019, 12:21:43 pm ---What programmer does FPC support for that?
--- End quote ---
Well I received my Blue Pill just few days ago and played with STM32 IDE, Mikroelektronika Pascal, Platformio and Arduino. With ST-Link v2 and first 3 you can debug from IDE. With 4th you can only program. I plan to play with FPC but had no time to do that yet. For FPC support you can find more info in the forum:
https://forum.lazarus.freepascal.org/index.php/topic,45966.0.html
https://forum.lazarus.freepascal.org/index.php/topic,45849.msg328333.html#msg328333


--- Quote from: MarkMLl on August 29, 2019, 12:21:43 pm ---A minor caveat is that if you buy one of the cheap STM32 "Blue Pills" for experimentation using the Arduino IDE you also need an STLink programmer to get the boot loader on and need to solder a pullup resistor.
--- End quote ---
I bought both STM32 Blue Pill and ST-Link v2 for about 3$. No need for resoldering since resistor was already proper one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version