Posted by Yash #define PAIOR (*(volatile unsigned short *)(0xFFFFF720)) long flashrate = 500000l; void delay(unsigned long d) void main(void) Build and download to target using HDI. Hope this helps. Yash --Previous Message--
![]()
on June 6, 2002, 10:06:36
Hi,
Generate application for SH7055F using HEW's project generator.
Add following code to in your main application file.
#define PACRH (*(volatile unsigned short *)(0xFFFFF722))
#define PACRL (*(volatile unsigned short *)(0xFFFFF724))
#define PADR (*(volatile unsigned short *)(0xFFFFF726))
{
if(d) while(d--);
}
{
PADR = 0xFFFE;
while(1)
{
delay(flashrate);
PADR ^= 3; /* Toggle lower 2 bits */
}
}
Starting/running your program "_main" will execute the program (Blink the LED's of EVB).
This is very basic code, you may have to do hw_init, setting up vector table etc for complete application.
: Hello, I am trying to generate some
: code with HEW to download it to
: the EVB7055F (SH7055F). I can
: generate the code but not download
: it to the board : "Invalid
: address value".
: Does anyone has a very sample project
: which can be compiled with HEW and
: downloaded with HDI or just the
: files which have to be changed for
: compiling for the EVB7055F with
: HEW ?
: Thank you in advance.
:
Message Thread:
![]()
« Back to thread
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.