Posted by EDA on June 28, 2002, 13:23:51
Thank you for the answer,
eric
--Previous Message--
: Hi,
: Generate application for SH7055F
: using HEW's project generator.
: Add following code to in your main
: application file.
: #define PAIOR (*(volatile unsigned
: short *)(0xFFFFF720))
: #define PACRH (*(volatile unsigned
: short *)(0xFFFFF722))
: #define PACRL (*(volatile unsigned
: short *)(0xFFFFF724))
: #define PADR (*(volatile unsigned
: short *)(0xFFFFF726))
: long flashrate = 500000l;
: void delay(unsigned long d)
: {
: if(d) while(d--);
: }
: void main(void)
: {
: PADR = 0xFFFE;
: while(1)
: {
: delay(flashrate);
: PADR ^= 3; /* Toggle lower 2 bits
: */
: }
: }
: Build and download to target using
: HDI.
: 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.
: Hope this helps.
: Yash
: --Previous Message--
: 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.