- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I´m trying to compile my sync slave fifo application without modifications on the newest SDK version 1.2 but get the following error from the linker:
C:\Cypress\EZ-USB FX3 SDK\1.2\\firmware\u3p_firmware\lib\fx3_debug\cyfxapi.a(cyu3usb.o): In function `CyU3PUsbJumpBackToBooter':
(.text+0x65c): undefined reference to `jump'
c:/cypress/ez-usb fx3 sdk/1.2/bin/../lib/gcc/arm-none-eabi/4.5.2/../../../../arm-none-eabi/bin/ld.exe: SlaveFifoSync.elf: hidden symbol `jump' isn't defined
How can I fix this? The (new) 1.2 examples compile correctly, but the source from sdk 1.1.1 will not link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
I had to update the startup script, cyfx_gcc_startup.S in my project from one in the V1.2 examples, which include the Jump definition
"
.global jump
jump:
bx R0
"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah, thank you, I will try this tomorrow.
Has anyone tested the 32 Bit sync slave FIFO with the 1.2 SDK? Is this bug fixed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not fixed. At least I'm unable to run 32-bit mode with example from sdk 1.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Guys,
Please change the starting piece of code in the main function as shown below:
CyU3PIoMatrixConfig_t io_cfg;
CyU3PReturnStatus_t status = CY_U3P_SUCCESS;
CyU3PSysClockConfig_t clkCfg = {
CyTrue,
2, 2, 2,
CyFalse,
CY_U3P_SYS_CLK
};
/* Initialize the device */
status = CyU3PDeviceInit (&clkCfg);
if (status != CY_U3P_SUCCESS)
{
goto handle_fatal_error;
}
/* Initialize the caches. Enable instruction cache and keep data cache disabled.
* The data cache is useful only when there is a large amount of CPU based memory
* accesses. When used in simple cases, it can decrease performance due to large
* number of cache flushes and cleans and also it adds to the complexity of the
* code. */
Let me know the result after doing this modification.
Thanks,
sai kirshna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You have to do the following things:
Try adding this in the linker paths - "${FX3_INSTALL_PATH}\firmware\u3p_firmware\lib\fx3_debug\cyu3lpp.a".
I am assuming that you have done the following thing:
change your cyfx_gcc_startup.S file according to the latest SDK.
Thanks,
sai krishna.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
work well with changing on startup.S . Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
just add global jump after section text like....
.
.
.section .text
.code 32
.global jump
jump:
bx R0
.
.
in the cyfx_gxx.startup.S file
regards
lumpi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much