Tool/software:
Hi
I would like to test the IPC examples provided in the C2000 folder without making any modifications.
I have already loaded the example code into the workspace and tried to load by refering:-
https://software-dl.ti.com/C2000/docs/C2000_Multicore_Development_User_Guide/debug.html
Error generated when i load CPU2 binary.
C28xx_CPU2: Flash Programmer: Error erasing Bank 0 FMSTAT (STATCMD on some devices) value = 65 (decimal). Operation Cancelled (0).
C28xx_CPU2: File Loader: Memory write failed: Unknown error
C28xx_CPU2: GEL: File: /home/work_ipc/ipc_ex4_msgqueue_sysconfig_c28x2/FLASH/ipc_ex4_msgqueue_sysconfig_c28x2.out: Load failed.
I have gone through :- https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1395851/tms320f28p650dk-c28xx_cpu2-flash-programmer-error-erasing-bank-3-fmstat-statcmd-on-some-devices-value-65-operation-cancelled-0
but stilli am getting the error.. Can you please clarify and give a solution to clear the error..
Hi,
What version of C2000Ware, CCS and compiler are you using in your application?
Regards,
Ozino
Hi,
In addition to the questions posed by Ozino, what are your bank erase settings for the CPU1 and CPU2? Also, what does the bank mapping look like in the On-Chip Flash tool?
Thanks and regards,
Charles
CCS - 12.8.0
C2000 - C2000Ware_5_04_00_00
just trying to make ipc examples in C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x_dual/ipc work... Not changed anything
i have tried with other examples(spi,can,uart) involving single CPU core... its working fine... (mostly used CPU1 during debugging)..
when tried to make this ipc eaxmple work, i am not understanding the steps i should follow in CCS...
In the CPU1 Flash Plugin, you have to use the ConfigureClock button before performing operations with CPU2 Flash Plugin. This issue has been resolved with latest plugin. Are you able to download the latest version of CCS?
Thanks and regards,
Charles
I have downloaded version 20 for Ubuntu. Could you please provide the steps to check IPC? The example code is separate for CPU1 and CPU2. I need a solution to verify this in CCS IDE.
When i try in version 20 also i am getting same errors...
Please give me a step by step process to make the IPC examples work successfully
Steps i followed:-
example:- C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x_dual/ipc_ex1_basic_c28x1 --> cpu1
C2000Ware_5_04_00_00/driverlib/f28p65x/examples/c28x_dual/ipc_ex1_basic_c28x2 ---> cpu2
In CCS 12.8.0
1. import CPU1 & CPU2 Code to CCS IDE
2. Selected for Flash build
2. Build both project seperately
3. Selected CPU1 code and click Run->Debug
4. debug few lines for CPU1 code
4. During debug "Tool" will come in the tool bar
5. Tool-> On-chip flash
6. selected banks 3,4 for CPU2 and all other for CPU1
7. configure clock clicked
8. Remember settings clicked
then for CPU2
9. right click CPU2 and -> connect target
10. run -> load -> .out binary of CPU2
Getting error
In CCS 20
Tool option is not coming while debugging
Please correct me either for 12.8.0 or 20.0.. Help me to make the IPC example work
Hi,
1. Import CPU1 & CPU2 Code to CCS IDE
2. Set both projects for FLASH build
3. Build both projects seperately.
4. Connect to CPU1.
8. In CPU1 Tool-> On-chip flash settings, press the 'ConfigureClock' button before running CPU1 code.
6. Connect to CPU2.
5. Load CPU1 program through CPU1.
7. Load CPU2 Program through CPU2.
9. Run CPU1 Code.
10. Run CPU2 Code.
Can you try with these steps?
Thanks and regards,
Charles