This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28M35XX ISO controlCard release 1.0 and 2.0 difference?

Other Parts Discussed in Thread: CONTROLSUITE

Hi I just purchased a new C2000 Microcontrollers development kit and im having some problems connecting and loading the code. I know the cofiguration is fine because it works on my older microcontroller. I noticed the new one is release 2.0 and the old one is release 1.0 The first error I get when connecting target is that its held in reset mode. If I click retry it seems to get past that. Then as soon as I try and load the program I get the error thats seen below. This is with loading the file RT-SineFIRFFT given by TI.

 

Cortex_M3_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.

Cortex_M3_0: Trouble Setting Breakpoint with the Action "Terminate Program Execution" at 0x20baa4: (Error -1066 @ 0x20BAA4) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 0.0.0.0)

Cortex_M3_0: Trouble Setting Breakpoint with the Action "Finish Auto Run" at 0x206c50: (Error -1066 @ 0x206C50) Unable to set requested breakpoint in memory. Verify that the breakpoint address is in writable memory. (Emulation package 0.0.0.0)

CS_DAP_0: Error: (Error -5008 @ 0xFFFFEC70) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 0.0.0.0)

CS_DAP_0: Error: (Error -5002 @ 0xFFFFEC76) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 0.0.0.0)

Cortex_M3_0: Error: (Error -1044 @ 0xFFFFEC70) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 0.0.0.0)

Cortex_M3_0: Error: (Error -1044 @ 0xFFFFEC76) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 0.0.0.0)

C28xx_0: Error: (Error -1135 @ 0x3FFEAD) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.0.681.0)

C28xx_0: Error: (Error -1044 @ 0x0) The emulator reported an error. Confirm emulator configuration and connections, reset the emulator, and retry the operation. (Emulation package 5.0.681.0)

  • Hi,

    After connecting to CCS, can you look at the memory content in RAM or Flash locations via memory watch window in CCS and check if you are able to read (read and write for RAMs) them properly.

    Regards,

    Vivek Singh

  • Im not that familiar with this software. Could you give me a step by step instructions if possible.
  • Everything works fine with release 1.0. Is there some changes made to 2.0 that differ from 1.0? s there anyway I can call to contact you instead of waiting for replies?
  • Hi Joshua,

    If you take a look at the last page of the F28M35x schematics you'll find the changes that were made.  Unfortunately, I don't see much change and what is there doesn't lead me to suggest this is the full problem.
    \controlSUITE\development_kits\~controlCARDs\CCF28M35xxHWdevPkg_v2\R_PWB_RevD\

    I have a few other thoughts:
    1) The chip is locked.  I believe this is where Vivek was going with his question.  Basically you try to connect to the device like you are and then use CCS to open up a memory window.  You then try to write/read RAM and see if you can do this successfully.  Address 0x2000 0000 is where RAMC0 begins.
    2) There is some other difference between your R1 board and your R2 cCARD.  One thought may be a difference in F28M35x chip revision.  On the chip's second line you should see something like YFB-*******.  The red bolded symbol tells you the chip revision number.  For example this is revB silicon.  (if there is no symbol then it is Rev0).  What is the rev on your two cCARDs? 

    If this is where you are I'd recommend:
    a) trying to put the device in boot-from-Ethernet mode - put in SW1 in Up, Up, Down, Down position and try again.  Boot-from-Ethernet mode will prevent the device from booting from flash and if the device is empty which can occasionally lead to issues.
    b) make sure that you are using an updated version of CCS.

    Hopefully this will get us closer to the problem. 


    Thank you,
    Brett

  • Hi Brett,
    Thank you for your help. The loading problem has been solved by first boot from Ethernet.
    Now I encoutered a new problem with Ethernet. The M3 program trapped at
    while ((EthernetPHYRead(ETH_BASE, PHY_MR1) & 0x0004)==0){} with EthernetPHYRead(ETH_BASE, PHY_MR1) =7809 (hex)
    I am wondering if you can me what the problem might be.Thank you,Joshua Abela
  • Hi Brett,

    The latest problems have been solved but now I'm trying to load the Sine FFT demo and I'm running into problems. I've been following the steps and when I get to step 2 of the Crosshair GUI setup I receive an error. I have tried to connect through static IP address. When I click connect the  error I receive is " unable to connect to selected target, please verify that the target is available and ready to receive connections".

    Thank you,

    Joshua    

  • Hi Josh,

    I am not very familiar with this project specifically, but I do see the following threads that may help you move further along:

    http://e2e.ti.com/support/microcontrollers/c2000/f/171/p/178251/641836

    (especially this one because I believe that you've rebuilt the project in CCS)

    http://e2e.ti.com/support/microcontrollers/c2000/f/171/t/156349

    Hopefully this helps. If you still have issues, I have a question: Does this project work correctly on the old cCARD (and you're only having troubles with this on the new cCARD)?


    Thank you,
    Brett

  • Hi Brett,

    I'm still haveing troubles with the board. I am able to load and run the code for both the C28 and M3 but when I try and ping the device I get no response.  I attached the program that im trying to run. This program works on my old cCard (release 1.0 and ccs v5) but not the new one (release 2.0 and ccs v6). The reason I need the new one to work is that some of the GPIO on the old board doesnt work. Im trying to finish up my masters and Im trying to get this done as soon as possible and this is delaying me alot.  

    Thanks for the help,

    Joshua

    RobotCtrl_F28M35H52C1_Board.rar

  • Hi Joshua,

    The crosshair GUI is no longer available for F28m35x device which means you may have to create your own GUI. The reason for this is you need to recompile and configure the crosshair GUI to get the variable addresses from the embedded system. This means you may have to create your own GUI that has a TCP/IP or UDP capability.

    As for other Ethernet examples, please look at the enet_uip or enet_lwip. They both use the Internet explorer to communicate with the F28m35x  board.

    Thanks

    Noah

  • Hi Noah,Thank you for your quick reply.
    The projects (C28 and M3) were developed several years ago for the old Concerto F28M35 board (Release 1.0) with CCS V5 based on RF_SineFIRFFT projects, with our own GUI. The projects are working perfecctly fine with the old boards. Now we are trying to run the same projects on the newly purchased boards (Release 2.0), but the ethernet is not working. What we did is to ping the IP address of the boards. The test with the old boards was fine, but not with the new boards.
    There must have something wrong with the ethernet part of the M3 project. I would appreciate it very much if you could help me pin out whare the problems might be because I am not familiar with the programming of F28M35. I plan to get my experiment done within a couple of weeks. Without your help, I don't think I can fix the problems within a couple of months.
    Thank you!Joshua
  • Hi Brett,

    Thanks for your help so far, I have noticed some new things that might be causing the errors. When I load M3 it erases than loads the program. When I load C28 there is no erase message. Then the error "C28xx_0: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map." occurs. If C28 isn't erased first this might be why there is a memory error. If you could give some insight on this that would be great.

    Another thing I noticed was that when I was comparing enet_uip.c and RT_SineFIRFFT_m3.ca there is a couple differences that might be causing a problem. The MAC address is written in the enet_uip.c file as "ulUser0 = 0x00F263A8; and ulUser1 = 0x00800000;". In the RT_sineFIRFFT_m3.c file the MAC address is written as "ulUser0 = 0x00000080; and ulUser1 = 0x00A863F2; ". Could this be causing the problem as well? This is all being done on the new boards (release 2.0 V6).

    Thanks for all your help,

    Joshua
  • Joshua,
    Please use the latest controlSUITE example. You are indeed correct about the two different silicon versions. The latest board (Rev A and above board) needs modification that is added in the latest controlSUITE example.
    Thanks
    Noah
  • Hi Noah,

    Thanks for the reply, could you point me in the right direction for which specific type of example you are talking about. Also if you could instruct me as to where the modifications need to be made that would be great.

    As for the last question I'm still not sure about the loading of the C28. The erasing of the C28 doesn't occur when I try to load the program.  I think this is why the error is coming up.

    Thanks for the help,

    Joshua  

  • Hi Noah,
    Im still trying different things to try and fix the problems but ive encountered a new one. First I import the "blinky" progam from the F28M35x_example_control folder from TI. The import for blinky is fine but when i import the setup_m3 into the workspace I get an error. The error reads as "Referenced project 'driverlib' does not exist in the workspace. Project 'setup_m3' may not build as expected." These two projects are both importing from the same folder so why would one of them receive an error?
    Thanks for the help,Joshua
  • Hi Noah and Brett,

     I fixed the problem with the importing of the setup_m3 file but now I have encountered two new problems. I first uninstalled both controlsuite and CCS, then downloaded and installed controlsuite and checked for updates. Then downloaded and installed CCS and checked for updates. The first problem occurred when I tried to install the updates for CCS. You can see below the error messages. The next problem was with the loading of the C28. M3 loaded fine but C28 received the error shown below.    

    (1)    Problem during installing updates:

    ‘Computing size’ has encountered a problem.

    An internal error occurred during: ‘Computing size’.

    Detail:

    An internal error occurred during: ‘Computing size’.

    Profile epp.package.cpp is marked as changed.

     

    (2)    Problem with loading C28 project (for SW1: up, down,down,down and SW1:up, up, down, down)

    C:\ti\controlSUITE\device_support\f28m35x\v205\F28M35x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

    The message in “Console”

    C28xx_0: GEL Output:

    Memory Map Initialization Complete

    C28xx_0: GEL Output:

    RAM Initialization Complete

    C28xx_0: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

    C28xx_0: File Loader: Verification failed: Values at address 0x000000000013E6D4 do not match Please verify target memory and memory map.

    C28xx_0: GEL: File: C:\ti\controlSUITE\device_support\f28m35x\v205\F28M35x_examples_Control\blinky\c28\ccs\Flash\blinky_c28.out: a data verification error occurred, file load failed.

     I hope you can find the time to help me out, and thanks for all the help. 

    Joshua 

  • I have the same problem with same example. Have solved it?
    Thanks

    Dionisio
  • Try to use CCS 6.0.1. It helped me.
    Sergey
  • Thank you
    I'll try . It is the one that my students are using now!
    Dioniso