Topic : STR710fz2 Flash Program : not able to Reset Target

Forum : ARM

Original Post
Post Information Post
January 6, 2007 - 2:39pm
Guest

Hi,
I am using RIDE (BN746) to program STR710fz2. So far it was OK. Today It started giving message like "Time out Expired while trying to reset Target".
It can communicate to target and get device ID correctly. I even tried to reinstall Ride but of no use. I dont know what to do?

Can anybody give code for TxEmpty interrupt. I want my data to be written in circular buffer and send them one by one in ISR.
I have written my own code but i am getting non-stop TxEmpty interrupts without even writing any byte to TxBUFR. I tried to clear pending bit by writing '1' , it stopped working all together.

Thanks & Regards
Pratibha

Replies
Post Information Post
+1
0
-1
January 8, 2007 - 10:02am
Guest

Hi,

Please tell us your RLink's serial number. (you get it using "connect to RLink" command in the options) It will tell us which type of RLink it is, which production batch it is from, etc.

At what point in the programmation do you get the error? When erasing, programming, or debugging?

If it comes when erasing, then please try to manually tie reset low (using reset button or a wire) during the time of the erase. You can also try to configure the device in RAM mode using the jumpers, just for the time of the erase.

If it comes during debugging, then please first try to program an old version of your application, from when the debugging was working. Then, send us the two versions of the application (the complete project including sources, listings, objects, etc) and we'll try to understand the problem.

If it comes during programming, then I it might be a hardware problem. In this case, please send us your project and we'll try to program it on a new device to see if it is the case.

Best Regards,

Vincent

+1
0
-1
January 9, 2007 - 9:10am
Guest

Hello Vincent,
Serial number is : "dngStd004000564".
I configured for RAM Boot mode, it went through. Occasionally error message appears.
I am not using any kits and it is our own card. I have not made provision for RAM boot mode. Ours is Flash booting. But BOOTEN, BOOT.1 and BOOT.0 pins are brought out, so i could check your method.
Thanks..

I am trying to read CF card and configured for Bank0. I tried reading but could not get data and then i looked into scope. I found no RD and CS0 signals. Then i added write, then i started getting all signals.
I tried to only read other banks. The result is same.

Can you please check the RD & Cs0 signal on scope with ONLY Reading external memory.

main
{
u16 data;
u16 *data_address;

data_address = (u16*)0x60000000;

GPIO0->PC0 |= 0X000F;
GPIO0->PC1 |= 0X000F; // configured CS0..CS3 as AF push pull out pin
GPIO0->PC0 |= 0X000F;

EMI_Config(0, EMI_ENABLE | EMI_SIZE_16 | EMI_WAIT_STATE(5));

for(i=0; i<100; i++)
{
data = *data_address++;
delay(100uS);

// if i add write i get all 3 signals(RD, WR, CS)
// *data_address++ = data;
}

}

Thanks in advance..