I'm trying to change the RCW on the MSC8156EVM board so that I can use the rio_net example project to test srio with a loop back connector. I'm having problems accessing the I2C EEPROM (adr 0x50). I tried several example projects: i2c_boot, i2c_burn_eeprom and under the compiler I2CBoot. all are hanging out on the i2c busy... What should the jump and dip sw setting be? Is there another example project I could look at? I know there is no access to the I2C since I have a Saleae Logic scope on the SDA and SCL lines. I do see at power boot if JP1 is on 2-3 a I2C read of 0x50 with an RCW FF FF FF 03 33 00 00 FF FF FF 04 18 01.. any help
Hi,Michael,
Pls follow up the step to download the tools.
BR
XiangJun Rong
Here is what I see…
Again how do I get
I have an old copy of CW_SC_v10.5.0_Win_b282.exe which I installed and built the basic demo project with no problem until I tried to use the USB TAP JTAG on the MSC8156EVM board and again I get the same issue Plugin failure to write memory? What does this mean!! And why are all the projects getting this error
Hi, Michael,
It's CodeWarrior Development Studio for StarCore DSPs v10.5.x (like 10.5.1), not 10.1.5.
Customer need to register at www.nxp.com to download CodeWarrior. After registration you should can use the registration code as below to download your registered CW.
Hope it can help you
BR
Xiangjun Rong
Hi, Michael,
The CW for SC V10.7 is for BSC913x. To debug MSC815x please use CW for SC V10.5.x (the latest is 10.5.1).
Hope it can help you
BR
XiangJun Rong
Where can I get CodeWarrior Development Studio for StarCore DSPs v10.1.5? since Freescale.com does not exist anymore and the MSC8156EVM Software Installation Guide refers to CW SC 10.1.5 to use… I know its old but its what the doc says to use so maybe that the version of CW that works with the SDOS sample/example projects.
Hello
I don't know if it is relevant to your question, but last month I asked a question about problems I had in my card - working with IIC EEPROM (adr 50 - same as yours)..
I found out that PE had a bug in their program, and I fixed this bug. If you are using PE in your project, maybe it has the same bug.
The problem was that while reading from the EEPROM, PE interrupt utility send STOP signal between address write and data read. They should not do it. It cause the program to stuck in a position of waiting to busy IIC bus.
Ben
Hi, Michael,
In your CW(which CW are you using? Mine is CW for Starcore v10.5.1) folder \SC\StarCore_Support\I2CBoot\MSC815x-MSC825x, there is a 'How to' doc which introduces How to make the board boot from EEPROM (attached here), did you follow the steps ?
Hope it can help you
BR
Xiangjun Rong
Yes I tried those instructions and using that project (mine is C:\Freescale\CW_SC_3850_v10.7.2\SC\StarCore_Support\I2CBoot\MSC815x-MSC825x)
The problem is using the project and USB TAP as the JTAG., I get:
!ENTRY com.freescale.core.debugger.cdt 4 16777218 2019-02-20 08:53:39.038
!MESSAGE Failed to resume target process., CCSProtocolPlugin : Error writing memory
Unless I set JTAG as a ISS connection type… which will not allow map to the I2C or RCW registers since it’s Instruction Simulation..
How do I get the projec to use the USB TAP as the JTAG connectin?
Looks to me that you do not have a problem with EE , you have problem with USB TAP communication.
I had a lot of debugging problems with the USB TAP working with DSC. freescale engineers admitted that they have firmware bugs. I am using now PEmicro Multilink Universal, it works good with CW11.
Ben
That’s correct.. The sample projects that use SDOS (NXP_Freescale MSC8156\SMARTDSP_OS_B040100_26092011\SC\StarCore_Support\SmartDSP\demos\starcore\msc815x) are all having this issue with the USB TAP connection. I do have a in house project using the USB TAP connection that works for our board with the MSC8156 which does not have SDOS (bare metal). So I know its not the USB TABP or EE or board but project configuration settings or linker files settings, etc that make the sample projects not download using the USB TAP connection. What is meant by:
!ENTRY com.freescale.core.debugger.cdt 4 16777218 2019-02-20 08:53:39.038
!MESSAGE Failed to resume target process., CCSProtocolPlugin : Error writing memory
Any idea what the error/setting is?