Welcome to the Zilog forum!
Go to bottomPage: 123
TOPIC:
#2199
ZNEO32!® CMSIS pack file 6 Months, 3 Weeks ago Karma: 6
The temporary repository to install the pack file is no longer required. Keil's repository now has the Zilog parts included.
In Eclipse IDE in the Packs Perspective, click on the Update the packages Definitions Icon.

Corrected instructions on how to build the example Projects in Eclipse IDE (using the GCC make file in the project):

In Pack Perspective, click on the Boards tab
Expand the Zilog listing. Zilog boards should now be seen in the Packs tab. You may have to expand the ZNEO32_DFP listing.
Expand the 1.0.2 listing (should state that it is installed)
Right click on the Blinky (Z32F1280100KITG) item, select Copy to Folder, click ok.
Change back to the C/C++ perspective
Select File->New->Makefile Project with Existing Code
Type in a project name: Blinky
Browse to the Folder where the files were copied (typically, user/Examples) and select the /Boards/Z32Fxxxx100KITG/Blinky folder.
Select OK
Select the Cross ARM GCC toolchain
Click Finish
Expand the newly created Blinky project
Right click on the ARM folder and select Delete
Click OK to delete
Right Click on the EWARM folder and select Delete
Click OK to delete
Right click on the project and select Properties
Click on “C/C++ Build” listing
Uncheck “Use default build command”
(Leave the “Build command” box as it is: $(cross_make) )
Click on the “Workspace..” button,
Expand the Blinky Folder, click on GCC folder and press the OK button
The Build Directory should now read ${workspace_loc:/Blinky/GCC}
Click on Apply
Click on the “Behavior” Tab, remove the "all" text in the “Build (Incremental build)” box.
Click on Apply
Expand the “C/C++ Build” folder
Click on Settings
Click on the Apply button (this should add the Include folder that has the tools to the project)
Click OK to accept and close the properties box
Select Project->Build Project
Tom Ormiston (Admin)
Admin
Posts: 217
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2198
Re:ZNEO32 6 Months, 3 Weeks ago Karma: 0
THanks.
Wish best programmer can I use or build ? Is Eclipse IDE be able to do that ?
How do I integrate this gcc.ld on eclipse IDE.
I had downloaded GNU ARM eclipse, for builds and GNU Tools ARM Embedded, for toolchain. Is there an other way to use this for, or it does not are necessary ?
andrepereira (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2197
Re:ZNEO32 6 Months, 3 Weeks ago Karma: 6
That message means that the make program cannot find the make file.

If you are using the make file that came with Blinky, then more than likely your current working directory is not set to GCC (where Makefile and gcc.ld are).

As for a free debugger, I don't know of any "free" debugger. You could take a look at OpenOCD (which is Open Source). You can check the web for JTAG debugger options.
As for Programming, there is an ability to flash the part through the boot mode, which only requires the usb cable (if you are using the development board, otherwise connection to UART0 or SPI0). There is no debugging capabilities, strictly a program to flash ability. This requires an application to send the programming flash code to the boot loader, then actually receive and write the flash code to the chip.
Tom Ormiston (Admin)
Admin
Posts: 217
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2196
Re:ZNEO32 6 Months, 3 Weeks ago Karma: 0
I'v got an error like this :
Description Resource Path Location Type
make: *** No targets specified and no makefile found. Stop. Blinky C/C++ Problem
How to fix ?
And what is the best free debuger or programmer to be made by myself ?
Thanks .
andrepereira (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2195
Re:ZNEO32 6 Months, 3 Weeks ago Karma: 6
The message "unit32_t could not be resolved" mean the CMSIS core files are not in your include path.

The easiest way to Build Blinky example is to use the makefile that is included. All the associated files and headers are included in that make file.
To Build Blinky in Eclipse, using the existing make file (assuming you have the CMSIS pack file installed):
In Pack Perspective, click on the Boards tab
Expand the Zilog listing. Zilog boards should now be seen in the Packs tab. You may have to expand the ZNEO32_DFP listing.
Expand the 1.0.2 listing (should state that it is installed)
Right click on the board example to use and select Copy to Folder
Change back to the C/C++ perspective
Select File->New->Makefile Project with Existing Code
Type in a project name, such as Blinky
Browse to the Folder where the files were copied (typically, user/Examples) and select the /Boards/Z32Fxxxx100KITG/Blinky folder.
Select OK
Select the appropriate Toolchain (typically, Cross ARM GCC)
Click Finish
Expand the newly created project and delete ARM and EWARM subfolders (these are for other compilers).
Right click on the project and select Properties
Click on C/C++ Build listing
Uncheck Use default build command
in the Build Command box, type in make
On the Builders Setting, click on Workspace button, expand the project folder and select GCC, click OK.
The Build Directory should now read ${workspace_loc:/Blinky/GCC}
(assuming Blinky is the project name you gave it)
Click on Apply
Click on the Behavior Tab, remove the "all" text in the Build (Incremental build) box.
Click OK to accept and close the properties box
Select Project->Build Project
This should build the project.

you can also build a project from scratch, where there are numerous instructions on how to do that. Make sure you include the device header file (Z32Fxxx1.h, where xxx is the device) in your C files and have the CMSIS core files available and in your include path.
Tom Ormiston (Admin)
Admin
Posts: 217
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2194
Re:ZNEO32 6 Months, 3 Weeks ago Karma: 0
Hello, thanks.
Now, how do I start using some GCC project on eclipse IDE because I am getting some error about "uint32_t could not be resolved" problem.
May I configure some GCC compiler and where to do that?
andrepereira (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
The Sample Center is managed separately
from Zilog's Customer Support services,
and therefore requires a separate login.
Acknowledged! Take me to the Sample Center.
Disable this pop-up in the future.