Replacement for Sourcery CodeBench for Verifone DTK - codesourcery

Now that Sourcery CodeBench is no longer open source and is owned by Siemens, is there any alternative to build projects that were earlier built on Sourcery CodeBench for Verifne DTK ? Currently the Sourcery CodeBench for Verifone DTK requires a license and I looking for alternatives such as open souce compilers/toolchains which can used with Eclipse or any other IDE to perform the same task.
Any help would be really appreciated.

I was release manager for SCB for VF, I believe some old gcc will work, but without licensed DTK tools you won't be able to sign application for deploy. If you provide more details what you want to achieve I probably could say something more concrete.
And +1 to ams Siemens acquisition is irrelevant to SCB licensing.

Related

Cross-Compiling for BeagleBone Black on Windows?

I have tried quite a few things on the internet but all seems to be not working when I cross compile on eclipse (with GNU MCU ARM and Sourcery Lite ), the binary on the BB-Black gives segmentation fault. Did someone try cross-compiling in recent time?
Setting up Beagle Board Tool chain for windows:
Online tutorial: In the tutorial it is mentioned that how to setup the tool chain in eclipse, cross compile on windows and deploy on the windows.
- http://jkuhlm.bplaced.net/hellobone/
Pre-Requisite:
In order for beagle-bone to work with your laptop, you need to
install the driver for the beagle bone.
https://beagleboard.org/getting-started
- Follow the link above and download the drivers at step 2.
- Important: To install the driver, you need to switch off the driver signature safety feature of windows OS. The instructions to do so is
mentioned at the link below:
https://www.youtube.com/watch?v=71YAIw7_-kg&feature=youtu.be
Install the following:
1. Java SDK : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install Eclipse IDE for C/C++
Any version of Eclipse IDE for C/C++ is ok.. We would recommend to use “Neon” version of Eclipse IDE.
Link to the Neon Version: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/neon/3/eclipse-cpp-neon-3-win32-x86_64.zip
Unzip the package at a convenient location and launch via eclipse..exe
After opening your Eclipse:
Go to: Help > Eclipse Market Place > Search “GNU MCU Eclipse Plugin” and Install
Linaro Tool chain : http://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
Download the toolchain from the link above named “gcc-linaro-7.3.1-2018.05-i686-mingw32_arm-linux-gnueabihf.tar.xz”
Extract it to a convenient location, recommended “C:/Linaro”
Install GNU Make: http://gnuwin32.sourceforge.net/packages/make.htm
Now please open the online tutorial mentioned in the beginning of this article and follow step-4 onwards.
Use your programmer instincts to import the project, edit make file, launch the remote system via eclipse, create a SSH connection
to beagle bone black.
Now, in 2020 it is much simpler. Download "Code Composer Studio IDE for Windows Host" from https://www.ti.com/. It is an Eclipse based IDE, for many TI targets. It includes the compiler too.
I created a repository providing an example how to cross-compile for the beagle bone black on both Linux and Windows (MacOS should be possible as well) with CMake. Also includes Eclipse project files and instructions on how to perform remote debugging with the TCF agent:
https://github.com/spacefisch/beaglebone-crosscompiling

Kate External Tools plugin missing

I have installed Kate Editor (with KWrite, which installs some plugins) in Ubuntu 15.04, and I have just realized that the Kate External Tools plugin is missing since version 4.8.
I really need this plugin, and if anyone could show me where to find an older Kate version or even the plugin itself I would really appreciate that.
By the way, I have found in this webpage the plugin, but (my Linux level is average) I am not able to install it: even the first command gives a problem, and you have to click on "actions" in the left bar... If someone could show me how to build it, that would be really helpful...
Thanks in advance!!
A Kate developer here: Unfortunately, the External Tools plugin was never ported to newer versions of KDE and in particular Plasma 5. There were changes in the plugin architecture, and due to some bugs and no maintainer, this plugin got lost.
We would be very happy to accept this plugin again in Kate's git repository, making it an official part of Kate again. But someone needs to implement it or port it to Kate 5. You can find more information in this bug report.
Update 2019-01-31: I am currently working on bringing this back to Kate: https://phabricator.kde.org/D17971 It will take another 2-3 weeks, though.
Update 2019-09-21: It is back, and will be released with the KDE Applications Release 19.12. See:
https://kate-editor.org/post/2019/2019-09-21-external-tools-plugin/

Eclipse, GCC, installing them twice?

I am thinking of installing Eclipse for developing STM32 programs (I have a question about this that I will post later). In the instructions it says I have to install:
the IDE for C/C++
GNU ARM Eclipse Plug-ins
GNU GCC ARM tool-chain
among other tools..
However, I am also thinking of installing e2studio for developing Renesas programs. You can see about this Here. There you can see that this is "based on Eclipse CDT" (what is the difference between this CDT and the IDE?) and that it also uses Plug-ins like GNU Tool & Support Here.
My question is, is this possible? Do I have to install them separately? (I guess so). Will the GNU tools will also be installed twice??
(I am using a windows10 machine)
Thanks in advance
CDT is dedicated to C/C++ programming. Actually I personally prefere to have separate eclipse installations for different families of uC. Why? Because it is much easier to manage updates and to keep my work in the correct order.
For STM32 I advice (I think, you are a novice user of Eclipse & ARM toolchains) to install OpenSTM32 (yo have a straightforward installer). It imports projects from CUBEFX & MX which gives you an easy way to import examples & initialisation code from Cube. I personally do not use HAL libraries but as I know I am a minority.
However, I am also thinking of installing e2studio for developing
Renesas programs. You can see about this Here. There you can see that
this is "based on Eclipse CDT" (what is the difference between this
CDT and the IDE?)
Eclipse CDT is an open-source general-purpose C and C++ IDE.
e2studio is one of several software packages that extend CDT with (most likely proprietary) plugins geared towards a more specific market (in this case, Renesas programs).
My question is, is this possible?
Yes.
Do I have to install them separately? (I guess so).
Yes.
Will the GNU tools will also be installed twice?? (I am using a windows10 machine)
You can certainly share a single installation of a toolchain between two installations of CDT, if both of them need the same toolchain (in terms of version and architecture). I don't know enough about STM32 and Renesas to tell you if they use the same toolchain.

STM32 libraries for eclipse

Can you use the CMSIS, HAL, TM libraries for STM32F407 discovery board with eclipse, without STM32Cube? According to this link http://www.carminenoviello.com/en/2015/06/04/stm32-applications-eclipse-gcc-stcube/ you can do it with eclipse & STM32Cube. But I wonder if you can do just same thing without the STM32Cube. Since I'm using OS X, it is impossible to install the STM32Cube, but in order to use the GPIO library I need to use CMSIS, HAL, TM libraries.
You might be able to used the older "Standard Peripheral Driver" model - which was a just a distributed set of driver files specific to the chip. These libraries are no longer supported and are replaced by STM32Cube which generates equivalent code - but with better support for hardware abstraction however they are still very useable.
Search "STM32F4xx_StdPeriph_Driver" to locate the libraries (which include the standard peripheral drivers and CMSIS).
You can download the libraries as a separate zip file
http://www.st.com/web/en/catalog/tools/PF259243
just unpack it and import whatever you need from it into your project. You can take an example project which is closest to your needs, and start developing your application from that. That's what I did in Linux.
There is the STM32CubeMX, which is the installable program you're referring to, and there are STM32CubeF4, STM32CubeL0, etc, which are the firmware package for the different controller families.
CubeMX now officially supports Mac and Linux. However here is an old post how to run it manually http://www.carminenoviello.com/2015/09/09/running-stm32cubemx-macos-finally/.
Regarding the HAL and SPL I'll add that there are really nice libraries in libopencm3 which are developed by community and are not so "buggy" as HAL or SPL.
I found an interesting instruction. You can install the STM32CubeMX on OS X. http://www.stm32duino.com/viewtopic.php?t=267
There is an Eclipse based IDE by OpenSTM32 community called SW4STM32. Available at OpenSTM32 community's site. System Workbench for STM32 installer has been released on the following platforms:
Microsoft Windows Vista and newer (32 bits or 64 bits)
Linux (32 bits or 64 bits)
Mac OSX 10.10 Yosemite and newer + Xcode 7
Java SE JRE 7 or newer
When creating a project you can choose which library you want want to use, SPL, HAL or baremetal.
STM32CubeMX is a initialization code generator. It definitely eases development, but you can write you code completely from the beginning.
STM32CubeMX uses HAL as its Library. You can download the HAL and Include the files that you need and write down the code from scratch. You just need to be aware of the APIs, which are documented in UM1725 Application Note.
But, now STM32CubeMX is also available for Linux and Mac.

Javacards IDE, and JCOP tools for eclipse unavailable to download

I'm starting to develop in JavaCard (more specifically JavaCard 2.2.2).
I'm searching for tools to develop in JavaCard. I want an IDE that incorporates both an emulator and a debugger. The eclipse plugin JCOP tools from IBM seems to do that, but for some reason I can't find it online. Some forums point to the link http://www.zurich.ibm.com/jcop/download/eclipse/, but this link no longer works...
Anyone knows what's going on? Have JCOP tools been discontinued? If so, can anyone suggest another IDE capable of those features?
JCOP tools is no longer maintained by IBM. All support activities related to the JCOP operating system were handed over to NXP in 2007 (?). You might be able to get further information from NXP directly (tools.jcop#nxp.com), but don't expect them to respond if your request is not backed by a real business case.
The toolchains for Java Card development (various versions) is available directly from Oracle (through their website). The toolchain can be used from the commandline and also supports ANT tasks. For upload to real cards, you can use open Global Platform tools (e.g. GPShell).
You can use GPJ or GPSHELL or JCMANAGER for uploading and deleting .cap files on real javacards. These are download links :
GPJ:
http://sourceforge.net/projects/gpj/
(Now GlobalPlatformPro https://github.com/martinpaljak/GlobalPlatformPro)
JCManager:
https://github.com/martinpaljak/jcManager
GPShell:
http://sourceforge.net/projects/globalplatform/files/GPShell/
as far as I know is JCOP still available, but only directly from NXP and not for free.
And, since Oracle owns Java and Java Card, NetBeans makes it very easy to work with JavaCards (mostly JavaCard 3), but as long as you use the "classic applets" it will act as a 2.2.2
It also comes with a handy quick start guide https://netbeans.org/kb/docs/javame/java-card.html
You can try to use the JCIDE to develop JavaCard Applet for free. It is an Integrated Development Environment designed specifically for the JavaCard programming language.
The JCIDE itself also comes with a quick start video tutorial to help you. Also I feel great in use process.
You can see more about JCIDE in "https://github.com/Tolice/JCIDE/wiki"