<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[RAISONANCE forums - Microcontroller and Smart Card development tools]]></title>
		<link>http://forum.raisonance.com/index.php</link>
		<description><![CDATA[The most recent topics at RAISONANCE forums - Microcontroller and Smart Card development tools.]]></description>
		<lastBuildDate>Fri, 30 Jul 2010 08:03:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[dynamic allocation using raisonance]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3326&amp;action=new</link>
			<description><![CDATA[Hi everybody,

I want to use malloc() to allcaote dynamically memory space.
I found that I have to include "alloc.h" but the allocation fails and I don't understand the reason.
Is there something that I have to add ?

NB: I am using raisonance compiler with STDV.

I am very thankful.

#include "alloc.h"

uint8_t* tab;

	/* Allocate momory space */
	tab = malloc(10);
	
	if (tab == NULL)
       {
		/* Memory space can't be allocated */
		checkstatus = ERROR;
        }]]></description>
			<author><![CDATA[dummy@example.com (Bruno)]]></author>
			<pubDate>Fri, 30 Jul 2010 08:03:32 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3326&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[STM8_PGM.EXE - Erase Problem]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3265&amp;action=new</link>
			<description><![CDATA[Hi,

to program a STM8S207S8 in our application we are using the tools Ride 7 (7.28.10.-0075) and RKit-STM8 for Ride 7(2.28.10.0092) via Raisonance R-Link.(Firmware Version:0.0.3)

Now we have the problem that sometimes a STM8S207S8 is not erasable and an error message occurs via command line tool.

The read command seems to be OK. Also an attempt to use the windows tool shows the same effects.
The Button "Connect to target STM8 and read Die Id" shows "Successfully connected to target STM8.Device Die Id is: 0x37394142"
If i use the STVP-Tool with 00 filled tabs the program all command works fine. After that we use the Rflasher to blank-check the device which also works fine. Now program and verify with rflasher7 is OK.


Here are some different attempts:
------------------------------------------------------------------------
C:\Programme\Raisonance\Ride\bin>stm8_pgm.exe TSTM8S207S8 E
STM8_pgm: software for programming STM8 devices using an RLink as master.
Copyright Raisonance 2007-2010.


(0) Selecting target: STM8S207S8... OK

(0) (0) Connecting to RLink... OK
Connecting to target STM8... OK
   Device Die Id is 0x37394142

Erasing Flash, EEPROM and Option Bytes...
         !!! Error 603: Error reported by the device.


-------------------------------------------------------------------------
C:\Programme\Raisonance\Ride\bin>stm8_pgm.exe TSTM8S207S8 EF
STM8_pgm: software for programming STM8 devices using an RLink as master.
Copyright Raisonance 2007-2010.


(0) Selecting target: STM8S207S8... OK

(0) (0) Connecting to RLink... OK
Connecting to target STM8... OK
   Device Die Id is 0x37394142

Erasing Flash...
         !!! Error 603: Error reported by the device.


----------------------------------------------------------------------------
C:\Programme\Raisonance\Ride\bin>stm8_pgm.exe TSTM8S207S8 EE
STM8_pgm: software for programming STM8 devices using an RLink as master.
Copyright Raisonance 2007-2010.


(0) Selecting target: STM8S207S8... OK

(0) (0) Connecting to RLink... OK
Connecting to target STM8... OK
   Device Die Id is 0x37394142

Erasing EEPROM...
         !!! Error 102: No response from the DTC (Data Transfer Component)


-----------------------------------------------------------------------------
C:\Programme\Raisonance\Ride\bin>stm8_pgm.exe TSTM8S207S8 EO
STM8_pgm: software for programming STM8 devices using an RLink as master.
Copyright Raisonance 2007-2010.


(0) Selecting target: STM8S207S8... OK

(0) (0) Connecting to RLink... OK
Connecting to target STM8... OK
   Device Die Id is 0x37394142

Erasing Option Bytes... OK
(2) Closing com with RLink... OK
(2)


------------------------------------------------------------------------------
C:\Programme\Raisonance\Ride\bin>stm8_pgm.exe TSTM8S207S8 E
STM8_pgm: software for programming STM8 devices using an RLink as master.
Copyright Raisonance 2007-2010.


(0) Selecting target: STM8S207S8... OK

(0) (0) Connecting to RLink... OK
Connecting to target STM8... OK
   Device Die Id is 0x37394142

Erasing Flash, EEPROM and Option Bytes...
         !!! Error 603: Error reported by the device.
--------------------------------------------------------------------------------


I hope you can assist me with this problem.

Thanks.]]></description>
			<author><![CDATA[dummy@example.com (enore.grattoni)]]></author>
			<pubDate>Wed, 28 Jul 2010 15:56:14 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3265&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[STM8S-Discovery Raisonance compiler w/STVD?]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3276&amp;action=new</link>
			<description><![CDATA[I wrote about the STM8S-Discovery kit a while back ([url]http://www.drdobbs.com/blog/archives/2010/05/7_development_k.html[/url]). So not that I don't have enough PIC/AVR/ARM/SX/etc. etc. etc. kits, but I figured for under $10 it would be fun to check out.

I did the license steps to get the 32K ride license. I also downloads STVD from ST because -- correct me if I'm wrong -- Ride won't program/debug through the ST-Link on this board. 

I was pleased that STVD figured out where the toolchain was. But apparently when launched from STVD it doesn't know it is licensed. I hit a 1K limit trying to run through the STVD Raisonance tutorial.

Is there a way to make it figure that out? Ride 7 tells me I have Rkit-STM8-Lite Suite. But apparently Ride7 is somehow letting the software know it has a valid license key. STVD isn't.

And yes, I could just compile to hex and then use STVP, but that won't let me debug, just download. I think.

Al W
DDJ ([url]http://www.ddj.com/embedded[/url])]]></description>
			<author><![CDATA[dummy@example.com (AlexN)]]></author>
			<pubDate>Tue, 27 Jul 2010 07:39:17 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3276&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Can I use the RLink on the REva board to program external board ?]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3234&amp;action=new</link>
			<description><![CDATA[If you are wondering whether you can use the RLink that is on the REva board to program/debug target CPUs on other boards, such as custom boards, demo boards from other companies,  and if yes how can you can you do, 
here is our position concerning this question.

For REva version 2.x:
     Yes, after detaching the RLink from the board as explained in the REva v2.x documentation.

For REva version 3.x:
    This can be done as explained in the REva v3.x documentation.
    WARNING: This is not recommended by Raisonance. When using the 24-pin connector on the REva to connect to another board, the RLink is connected to both the REva and the external board. Electrical conflicts can cause physical damage to the tools. Any tool damaged using this connection is not covered by the Raisonance standard warranty or support and maintenance agreement.]]></description>
			<author><![CDATA[dummy@example.com (Philibert)]]></author>
			<pubDate>Fri, 23 Jul 2010 09:53:38 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3234&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Fast multiplication time]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3301&amp;action=new</link>
			<description><![CDATA[Hi,

I am using STM8S105C4 at 16MHz HSI clock. I can also see the clock cycles from CLK_CCO pin.
In ST7/STM8 C Compiler Manual, it says that fast multiplication takes about 70 cycles. At 16MHz, every clock cycle takes 62,5 ns. So fast multiplication must take about 62,5 ns * 70 = 4,38 us. But when I test the code below and watch the pin3 of portD using the oscilloscope to measure the time, I see that the fast multiplication takes 8,8 us. 
Does the assembly function ?C?MULS161632 take about 70 cycles or the multiplication statement (long res = (long)a * b;) ?

short a, b;
GPIOD->ODR |= (u8)GPIO_PIN_3; //pin high 
long res = (long)a * b; // Long mul, both operands 16-bit: Optimized to muls161632
GPIOD->ODR &= (u8)(~GPIO_PIN_3);//pin low


Thanks.]]></description>
			<author><![CDATA[dummy@example.com (Bruno)]]></author>
			<pubDate>Fri, 23 Jul 2010 08:18:30 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3301&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Using RLink-Pro with a REva board]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3324&amp;action=new</link>
			<description><![CDATA[To Use RLink-Pro with a REva board where a RLink is allready embedded you have to connect the RLink-Pro to your Reva board and connect the USB Wire to your RLink-Pro. 

Here is a picture of the connections to make in your situation...

[img]ftp://www.raisonance.com/pub/forum/Connect_RLinPRO_on_REva3/Connect_RLinkPRO_on_REva3.JPG[/img]

In this configuration it is the RLink-Pro that is working so it is normal that the BUSY LED of the embedded RLink does not turn OFF, because this RLink's USB is not connected to the PC. It's the BUSY LED of the RLink PRO that must turn ON and then OFF.

If that doesn't work, please make sure that you are using the latest versions of the software (Ride7 and RKit-ARM), and if the problem persists please contact the Raisonance support and tell us exactly which error message you receive, during which operation, etc.]]></description>
			<author><![CDATA[dummy@example.com (Philibert)]]></author>
			<pubDate>Wed, 21 Jul 2010 13:37:40 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3324&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[What is the maximum power available through R-Link for target?]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3027&amp;action=new</link>
			<description><![CDATA[We would like to be able to connect the R-Link to our STM8 application without connecting external power. Is this possible? I see that the printed "STM8/ST7 notes" that were included said, "Note: The RLink does NOT power the target board." However, there is a jumper (PW-5V) that looks like it can be used for this purpose. Where can I find the maximum current or power specifications? 

I was able to find the following schematic on your site
[url]http://www.mcu-raisonance.com/tzr/scripts/downloader2.php?filename=T020/file/6b/b7/4ez9hqpo2ku&mime=application/pdf&originalname=ADP_ST7_STM8_V2_1.pdf[/url]
However, I do not know what is generating the VCC5 signal or what its capabilities are.]]></description>
			<author><![CDATA[dummy@example.com (VincentC)]]></author>
			<pubDate>Wed, 21 Jul 2010 08:00:45 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3027&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[W7 Pro 64-bit and RFlasher 7]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3319&amp;action=new</link>
			<description><![CDATA[Hi,
I have your RLink and I am having a problem running RFlasher7. I tried installing Ride7 from both the included CD version 7.24.09.0251 and from the newest version on your website 7.30.10.0169, before re-installing I uninstalled the previous version first and after reading your FAQ document I tried installing them both in the installation directory C:\Raisonance and I still get the same problem. I get a message that both Ride7 and Ride 7 patch have been successfully installed and I get no error warnings when I open RFlasher7. The problem I have is that no hardware setup window (under project options) and no programming window (under Panel [RFlasher7]) is visible. I see these screens are supposed to be there on your getting started with RFlasher7 document page 5 and when I installed this program on an XP (SP3) machine it looks OK. I have also been using RFlasher6 for years and have not seen this problem. Any ideas?
Thanks,]]></description>
			<author><![CDATA[dummy@example.com (mblackbourn)]]></author>
			<pubDate>Tue, 20 Jul 2010 15:35:41 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3319&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Ride]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3312&amp;action=new</link>
			<description><![CDATA[Dear Raisonance support team,

I need to do some maintenance on a old st7 assembly(2007) project assembled with:


ST7 TOOL CHAIN 2.1.2
MAST7 ASSEMBLER 1.01.07
RLST7 1.02.01
OMF 1.01.01
SIMICE-ST7 1.02.01

RIDE ENVIRONMENT
VERSION 06.10.22
BN746-ST7

RLINK HARDWARE

and the target processor is : ST72F324BK4 (16K TQFP 32 PIN)

I have installed the kitST7_746 (the ride environment) on a new pc with windows xp sp2,and when istallation is over,I tried to assembly the source code but the ride tell me that "the maximum object size is reached".

I need the registration code for that pc in order to assemble the source code.
What steps I need to do ?

Best regards

Spectre

p.s I have just sent the licence request by mail]]></description>
			<author><![CDATA[dummy@example.com (Francis Lamotte)]]></author>
			<pubDate>Tue, 20 Jul 2010 05:20:39 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3312&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[RFlasher7 7.30.10.0169 ELF Program Error]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3320&amp;action=new</link>
			<description><![CDATA[I used RFlasher7 to program an ELF file on a STM32F103VET6 microcontroller that I've successfully programmed with RIDE7 before.  

Now I cannot Erase or Program the microcontroller but I can Read and Reset it.  The error I get is "Timeout error when synchronizing with plugin after launching it".

Any ideas?]]></description>
			<author><![CDATA[dummy@example.com (VincentC)]]></author>
			<pubDate>Mon, 19 Jul 2010 09:22:06 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3320&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[FUNC_PTR problem]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3323&amp;action=new</link>
			<description><![CDATA[Hi, I'm going through a big project and I need to modify it but I'm having trouble getting it compiled. I know it is done in Raisonance Ride-environment with 8051 device. Please see the type of line which always gives syntax error:

typedef Void (FUNC_PTR * psysfunctimer_t) (UInt16 ms); 

There are similar typedef -lines as this in many places in the code and they shouldn't be a mistake as the entire project comes from an existing working product microcontroller code. I'm getting a simple error like this:

 *** ERROR C162 IN LINE 427 OF C:\.....tx.h : Syntax error near '*' 

So obviously there is something wrong with that but I cant figure out what.... Does anyone know ?]]></description>
			<author><![CDATA[dummy@example.com (Bruno)]]></author>
			<pubDate>Mon, 19 Jul 2010 09:03:44 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3323&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Starter Kit Limited]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3322&amp;action=new</link>
			<description><![CDATA[Hi,
In the project setting of RIDE 7 there is a setting within the LD Linker-> scripts section i.e "Starter Kit Limited". This "Starter Kit Limited" offers two option "Yes" and "No".
Can anyone tell me what this setting stands for?

Regards,

Nommy.]]></description>
			<author><![CDATA[dummy@example.com (Nomy)]]></author>
			<pubDate>Thu, 15 Jul 2010 15:35:11 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3322&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[Using Extern Problem]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3316&amp;action=new</link>
			<description><![CDATA[Hi,
I created two C files in latest version of Ride 7 namely Main.c and Serial.c. The content of Main.C is as follows.

//////////////////////////////// Main.c /////////////////////////////////////////
extern void Serial_Comm_C(void);

unsigned char card_counter=0;
 


int main(void)
{	
   
	while(1)
	{			
		Serial_Comm_C();   		
	}
}
//////////////////////////////////////////////////////////////////////////////

Whereas the content of Serial.C is as follows.

///////////////////////////// Serial.C /////////////////////////////////////////
extern unsigned char card_counter;

void Next_Card(void)
{
	card_counter++;
	switch(card_counter)
	{
		case  4:
		{
			card_counter=10;
			break;
		}
		case  14:
		{
			card_counter=20;
			break;
		}				
	}	
}

void Serial_Comm_C(void)
{	
	Next_Card();			
}
/////////////////////////////////////////////////////////////////////////////////

When I try to build my project, I get following error. Can anyone please tell me if there are some updates required in project setting.

///////////////////////////////////////////////////////////////////////////////////
----------------Make Started: 'Application0' in configuration 'Standard'-------------------------- 
  
Building D:\TempSTM32\Serial.c 
 Running: ARM Compiler 
 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103ZET6_ -D_STM3x_ -D_STM32x_ -mthumb   -mcpu=cortex-m3 "D:\TempSTM32\Serial.c" -o "D:\TempSTM32\Serial.o" -I "." -I "D:\WinXPSoft\RIDE7\Ride\Lib\ARM\include" -c     -fsigned-char  -D OLD_STM32LIB_USED -g      -O1   -ffunction-sections         -mlittle-endian 
 "D:\WinXPSoft\RIDE7\Ride\Bin\rexrdr.exe" "D:\TempSTM32\Serial.lst" 0 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-objdump.exe" --disassemble -all --source "D:\TempSTM32\Serial.o" 
 "D:\WinXPSoft\RIDE7\Ride\Bin\rexrdr.exe" "D:\TempSTM32\Serial.o.sizetmp" 0 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-size.exe" "D:\TempSTM32\Serial.o" 
  
Building D:\TempSTM32\Main.C 
 Running: ARM Compiler 
 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103ZET6_ -D_STM3x_ -D_STM32x_ -mthumb   -mcpu=cortex-m3 "D:\TempSTM32\Main.C" -o "D:\TempSTM32\Main.o" -I "." -I "D:\WinXPSoft\RIDE7\Ride\Lib\ARM\include" -c     -fsigned-char  -D OLD_STM32LIB_USED -g      -O1   -ffunction-sections         -mlittle-endian 
 "D:\WinXPSoft\RIDE7\Ride\Bin\rexrdr.exe" "D:\TempSTM32\Main.lst" 0 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-objdump.exe" --disassemble -all --source "D:\TempSTM32\Main.o" 
 "D:\WinXPSoft\RIDE7\Ride\Bin\rexrdr.exe" "D:\TempSTM32\Main.o.sizetmp" 0 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-size.exe" "D:\TempSTM32\Main.o" 
  
Building D:\TempSTM32\Application0.rapp 
 Running: LD Linker 
 "D:\WinXPSoft\RIDE7\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "D:\TempSTM32\Application0.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,-Map -Xlinker "D:\TempSTM32\Application0.map"   
 D:\TempSTM32\Main.o: In function `main':  
 D:\TempSTM32/Main.C:16: undefined reference to `Serial_Comm_C()'  
 d:/winxpsoft/ride7/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-abort.o): In function `abort':  
 abort.c:(.text+0x8): undefined reference to `_exit'  
 d:/winxpsoft/ride7/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-signalr.o): In function `_getpid_r':  
 signalr.c:(.text+0x2): undefined reference to `_getpid'  
 d:/winxpsoft/ride7/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-signalr.o): In function `_kill_r':  
 signalr.c:(.text+0x1c): undefined reference to `_kill'  
 d:/winxpsoft/ride7/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/lib/thumb2\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':  
 sbrkr.c:(.text+0x12): undefined reference to `_sbrk'  
 collect2: ld returned 1 exit status  
  
Build failed 
/////////////////////////////////////////////////////////////////////////////////////////]]></description>
			<author><![CDATA[dummy@example.com (Bruno)]]></author>
			<pubDate>Thu, 15 Jul 2010 09:57:16 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3316&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[undefined reference to `FLASH_ProgramWord']]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3121&amp;action=new</link>
			<description><![CDATA[Hi!
 I have a problem building the application, appears  undefined reference to `FLASH_ProgramWord', 'FLASH_Unlock', FLASH_ErasePage. I dont understand why if i defined as #define _FLASH_PROG in stm32f10x_conf.h.
It is missing something?

#define FLASH_PAGE_SIZE          ((u16)0x800)  
#define StartAddr               ((u32)0x08040000)
#define EndAddr                 ((u32)0x08065800)

typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus;

u32 EraseCounter = 0x00, Address = 0x00;
u32 Data = 0xF0F0F0F0;
u32 NbrOfPage = 0x00;

volatile FLASH_Status FLASHStatus;
volatile TestStatus MemoryProgramStatus;

int main(void)
{ 
FLASHStatus = FLASH_COMPLETE;
MemoryProgramStatus = PASSED;

            .....

            /* Unlock the Flash Program Erase controller */
            FLASH_Unlock();

            /* Define the number of page to be erased */
            NbrOfPage = (EndAddr - StartAddr) / FLASH_PAGE_SIZE;

            /* Clear All pending flags */
            FLASH_ClearFlag(FLASH_FLAG_BSY | FLASH_FLAG_EOP | FLASH_FLAG_PGERR | FLASH_FLAG_WRPRTERR);	

            /* Erase the FLASH pages */
            for(EraseCounter = 0; (EraseCounter < NbrOfPage) && (FLASHStatus == FLASH_COMPLETE); EraseCounter++)
              {
              FLASHStatus = FLASH_ErasePage(StartAddr + (FLASH_PAGE_SIZE * EraseCounter));
              }
              
            /*  FLASH Word program of data 0xF0F0F0F0 at addresses defined by StartAddr and EndAddr*/
            Address = StartAddr;

            while((Address < EndAddr) && (FLASHStatus == FLASH_COMPLETE))
              {
              FLASHStatus = FLASH_ProgramWord(Address, Data);
              Address = Address + 4;
              }
              
            /* Check the corectness of written data */
            Address = StartAddr;

            while((Address < EndAddr) && (MemoryProgramStatus != FAILED))
              {
              if((*(vu32*) Address) != Data)
                {
                MemoryProgramStatus = FAILED;
                }
              Address = Address + 4;
              }

        while(1)
         {}

}]]></description>
			<author><![CDATA[dummy@example.com (just_some_user)]]></author>
			<pubDate>Tue, 13 Jul 2010 09:21:06 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3121&amp;action=new</guid>
		</item>
		<item>
			<title><![CDATA[interfacing external RAM with STM32F103ZET6]]></title>
			<link>http://forum.raisonance.com/viewtopic.php?id=3317&amp;action=new</link>
			<description><![CDATA[hi,
i have to interface the external RAM(IS61WV51216BLL) present at STM3210E-EVAL board as a code data memory. i have gone through these examples
C:\Program Files\Raisonance\Ride\lib\ARM\STM32F10x_Lib\examples\FSMC\SRAM  and
C:\Program Files\Raisonance\Ride\lib\ARM\STM32F10x_Lib\examples\FSMC\SRAM_DataMemory

template project should be used to make these examples running. template project include
system_stm32f10x.c
core_cm3.c
startup_stm32f10x_hd.s
stm32_eval.c
stm3210e_eval_lcd.c and
stm32f10x_flash_extsram.ld

which makes the project difficult to understand.

i need a simple C file (like main.c) which has all necessary settings (FSMC) to interface the external RAM present at STM3210E-EVAL board. and it should work with a default project.

please guys help me by sending me this code. many of you might have written your own initialization codes. i just need a part of it.

hope to get response soon. Regards]]></description>
			<author><![CDATA[dummy@example.com (kashif87)]]></author>
			<pubDate>Tue, 13 Jul 2010 06:24:28 +0000</pubDate>
			<guid>http://forum.raisonance.com/viewtopic.php?id=3317&amp;action=new</guid>
		</item>
	</channel>
</rss>
