- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
is it possible to flash a hex file ( generated by makefile) with psoc programmer or cypress programmer for traveo ii cytb27?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You'll need AutoFlash Utility to flash the Traveo-II devices.
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You'll need AutoFlash Utility to flash the Traveo-II devices.
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
You can find the link for AutoFlash Utility here (PSoC Programmer and Cypress Programmer is not supported for Traveo-II devices)-
Thanks,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ashish,
Could you please link any available tutorials on flashing traveo with autoflash utility or pyocd ?
thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After installing AutoFlash utility, you can go to installation path://../ Auto Flash Utility 1.x/docs for the user guide. It gives a detailed description on how to get started with it, and various commands and it's uses. You can always reach us out if you get any issues.
Thanks,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do all the solutions require the J link device or other external debuggers?
Is there anyway I could flash without external debuggers?
If yes, Could you please elaborate a little bit on that?
Many Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you are using Cypress EVKs - it could be a CPU board or Starter kit. For CPU board, there is no on-board programmer, so you'll need external debugger/flasher to program (or alternatively you could use a boot loader approach via CAN/LIN). If you are using starter kit board, there is onboard Kitprog3 that can be used (so you only need a usb cable along with the starter-kit board).
As far as AutoFlash utility is concerned- it will use either Jlink, or Miniprog4. The on-board Kitprog3 on starter kit is also supported (both Miniprog4 and on-board Kitprog3 has same Kitprog3 firmware).
Link for 1m CPU board:https://www.infineon.com/cms/en/product/evaluation-boards/cytvii-b-e-176-so/
Link for 1m starter kit: https://www.infineon.com/cms/en/product/evaluation-boards/cytvii-b-e-1m-sk/
Regards,
Ashish
- 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 ,
I observed at then end of log that verified was okay- so what's the problem- is the application not running? Note that after programming you'll have to issue a reset. Can you tell us which compiler- toolchain is being used for project? And can you attach the hex file, I will check it.
And you have mentioned starter kit- can you attach a pic of your kit- and tell us the full part number of the Traveo-II chip.
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thank you!
The application not running because of the errors I attached in the screenshot before (timed out while waiting for target halted, error executing cortex_m crc algorithm, checksum mismatch - attempting binary compare)
I am using the arm gnu toolchain.
Starterkit is cyt2b75cades.
please find attached the hex file( in pdf format, it wasnt supported otherwise)
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
You can attach the hex -just zip it! Anyways, it appears that you are using reserved region in SRAM0, that is not recommended.
As you can observe, the hex has base address at 0x08000020, which falls in reserved SRAM0 region- so you might need to modify the linker . Also, gnu is not supported officially as of now for TVII- the supported compilers are- IAR and GHS- kindly use it if possible. If you are getting started with TVII product, I would recommend to use Sample Driver Library as the reference especially for startup files and linker (SDL- it should not be used for production, but for testing and evaluation references it's okay and easy to use).
Another point to note is that X1 is not populated on the pcb- that is for the ECO. So you need to make sure that in startup file, the clock selected is IMO (internal main oscillator) and not the ECO (external crystal oscillator).
I am attaching a binky-led hex for starter-kit 1M board - can you flash this and test if it works? (reset board after flashing).
Thanks,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for your help.
the hex file worked with no errors but I didnt notice any led blinking.
I also used the cm0plus.hex file generated by IAR sample code , it worked with 0 errors but the led didn't blink.
Also, do I need gdb with cypress autoflash utility?
thanks,
best,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have IAR EW ide with you, we can directly debug it via IAR (option->debugger = CMSIS-DAP ; CMSIS-DAP-> interface=SWD) . Regarding LED issue- you have P7.4 in your project, but this pin is not connected to any LED on the Starter-kit board. Kindly use 19.0 or 12.2 . Also, as discussed earlier, make sure to use IMO as ECO is not populated (go to system_cyt2b7.h file, and make sure CY_SYSTEM_USE_CLOCK is set to CY_SYSTEM_USE_IMO (0) and not CY_SYSTEM_USE_ECO (1) ).
Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Ashish,
I am aware that IAR works, but I was wondering if it s possible to flash without using an IDE.
This is why I wanted to work with the cypress autoflash utility.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I understood! Can you confirm if it's working now or still there is any issue (after updating port-pin, clock etc)?
Regards,
Ashish
- 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 ,
I got this log when I flashed your hex file - clearly it's accessing reserved region- hence it's failing.
I would suggest you to refer the latest SDL 7.5 for the linker reference, and also it has CMake support so you can refer it for your reference.
Regards,
Ashish