PSoC™ 4 Forum Discussions
Hi,
I have a project with a number of files in subdirectories and a main holding it all together. I have added a new c & h file in a new directory and when I try to build I get the above error on link. There are no errors in any of the compiles. This is the output of the link line and the only error is the ld error.
Why is the main.o in there twice and is that the problem ? How would I fix that ?
Thanks for the help
--jim schimpf
arm-none-eabi-gcc.exe -Wl,--start-group -o
.\CortexM0\ARM_GCC_493\Debug\PneuTool.elf
.\CortexM0\ARM_GCC_493\Debug\gCorder.o
.\CortexM0\ARM_GCC_493\Debug\mma8451.o
.\CortexM0\ARM_GCC_493\Debug\Sound.o
.\CortexM0\ARM_GCC_493\Debug\EnvBoard.o
.\CortexM0\ARM_GCC_493\Debug\main.o .\CortexM0\ARM_GCC_493\Debug\main.o
.\CortexM0\ARM_GCC_493\Debug\cymetadata.o
.\CortexM0\ARM_GCC_493\Debug\Cm0Start.o
.\CortexM0\ARM_GCC_493\Debug\PneuTool.a "C:\Program Files
(x86)\Cypress\PSoC Creator\3.3\PSoC
Creator\psoc\content\cycomponentlibraryupdates\CyComponentLibraryUpdates
.cylib\BLE_v3_10\Library\gccCyBLEStack_BLE_SOC_PERIPHERAL.a" "C:\Program
Files (x86)\Cypress\PSoC Creator\3.3\PSoC
Creator\psoc\content\cycomponentlibrary\CyComponentLibrary.cylib\
CortexM0\ARM_GCC_493\Debug\CyComponentLibrary.a" -mcpu=cortex-m0 -mthumb
-g -ffunction-sections -O0 -L Generated_Source\PSoC4
-Wl,-Map,.\CortexM0\ARM_GCC_493\Debug/PneuTool.map -T
Generated_Source\PSoC4\cm0gcc.ld -specs=nano.specs -Wl,--gc-sections
-Wl,--end-group
.\CortexM0\ARM_GCC_493\Debug\main.o: file not recognized: File format not recognized
collect2.exe: error: ld returned 1 exit status
Hello, I'm new here and a bit lost in chip selection. I'm looking for an equivalent of CY8C4127 with BLE 4.2 capability. Can someone point that out?
Also which PSOC is included on CY8CKIT-143A? I don't find the info in the PDF.
THanks a lot
Show Less
I have been working on custom designed board with CYBLE-014008-00 of BLE-4200 family. I was able to configure on board relays and LED. I started with Bluetooth and was able to run BLE findme profile. After installing CySmart application in iPhone device I was able to use FindMe profile along with immediate alert service. This is all done in past few days.
Today I tried to program the board with little changes in code but I was unable to do so in many attempts. When going for program / debug during target selection it is not showing my device since morning.
Key-points :
- Board works on 12 V and Power adapter is supplying 12V
- I am using SWD method for programming abd On SWD 5 pin connector I am able to see 3.3 V supply.
- Miniprog3 can be seen in device manager. Also MiniProg3 status LED is green.
- In PSoC Creator device selector I am selecting my device properly.
- As I was unable to program the board, I uninstalled PSoC Creator & programmer and then installed again, but issue persists.
- As mentioned above I was able to program device with BLE code, My device still pairs with iphone application and I can recieve alerts too due to code flashed yesterday evening. PSoC board is running code that was programmed yesterday, but I am unable to program it .
Please suggest a way forward. Can't share schematic and have only one board.
If you have any ideas or things that I should try, please suggest.
Show LessWhen I have pluged in my CY5677 at Windows reboot, it falls into a DeepSleep mode and is irresponsive. No reply on the com port. "Unsupported device" in CySmart tool.
The only way I have found to get out of this state is to plug out/in the dongle.
When I do debugging in this state, the program continues in the CySysPmDeepSleep(void) routine after this line:
/* Sleep and wait for interrupt */ CY_PM_WFI;
I can discover trough state LED, that first, when I power up the windows machine, the dongle is in a ready/working state and then while startup comes into this state.
Any idea, how I can wake up the dongle from that state?
(I am using the official CY5677 firmware, BLE_4_2_Dongle_CySmart_256k.cydsn)
Show LessI am attempting to allocate the last row of on-board flash (start address: 0x0001FF80) to store non-volatile data (data that survives re-boot). Unfortunately, the bootloader over-writes ALL of on-board flash (0x00000000 - 0x0001FFFF). when loading the application!
Is there an easy way to instruct the bootloader NOT to overwrite the last row of on-board flash?
David Perkins
Cratus Technology
Show LessHello,
I am working with project 20 (BLE UART Bridge) of the 100 project in 100 days site, http://www.cypress.com/file/66366/download and having trouble sending a string over from the PSoC to the bluetooth dongle.
I am using the CY8CKIT-042-BLE PSoC 4 kit. In terms of the bridge between the psoc and the dongle, that works fine. What I am trying to do is; after the psoc and dongle have connected, I want the PSoC to continuously send a string (UART String) to the bluetooth with 1 second delay, then a different string, then another 1 second delay. It would be similar to the classic blinking code, but with strings. When I view the Com port for the the dongle with a terminal program, it should just keep repeating the same received set of strings over and over.
I am really lost in here, What would i need to change in the main code of the psoc, to allow for a continuous string to be sent over the bluetooth after it has connected?
Show LessHello,
i am working with the Cypress BLE Pioneer Kit. I replaced the original Eval-board with the the CYBLE-022001-EVAL.
The bluetooth HID keyboard example is working. It connects and the simulated battery level ist displayed. When i am now trying to measure real battery levels, i ran into problems.
I connect an power supply to the Port 3.7 and apply 0-1.024V. The reference voltage is selected as internal 1.024V. If i go down to 30% of the voltage the Low power LED goes on. But the battery level which is displayed goes up to 100%. If i apply 1.024V to the pin the low power LED is off but the battery level is shown as 100%.
It seems to me, that the battery level via BLE is inverted. Where is a good starting point to search for this error in the original example ?
best regards
Lars
Show LessI have a custom profile where I want to request a slower connection interval.
I am using HRS example to see how this is done.
In that example, the request is sent from a CYBLE_EVT_HRSS_NOTIFICATION_ENABLED event.
I can not find a similar event for a custom profile.
Does anyone know where I can put my code for this request?
Thanks,
Dale
Show LessI use the BLE Pioneer kit since several months with good success. I have Windows 7, 64 bit
Since two days my device is not listed any more when trying to debug in PSoC Creator or to program with PSOC programmer.
I think that it is a driver problem. When I connect the Pioneeer kit at USB and I list the devices in device manager I get : -> KitProg USB_UART and ->unknown device. (see attachment)
I reinstalled the PSOC-programmer und I downloaded and installed the upgrades for the Creator 3.3 SP1 3.3.0.7343. Maybe this could also be the reason for the error which I find now. I am not sure, what was before: the error or the upgrade.
I also tried to connect a M Series Pioneer kit: the same result -> the window "select debug target" is empty.
Can you help me to clear the old and install a new driver? Or can you imagine any other reason for my problem.
Show Less