Quantcast
Channel:
Viewing all 59170 articles
Browse latest View live

Forum Post: RE: RL78/G13 INTERNAL RTC RESET ON POWER OFF


Forum Post: RE: Debugger Problems with Segger jLink and e2-studio

$
0
0
Hello Karol, Thank you for your advice. I switched off the RTOS Integration in Debug View and now it works a lot more stable. Best regards Heinz

Forum Post: renesas rx63n data flash getting corrupted.

$
0
0
Hello, I am trying to program the rx63n data flash and data is writing to the memory block starting from 0x00100000 but the problem is when am checking it on FDT(4.09) the data is getting corrupted i.e some values are proper some are not. here is my code... namespace DLMS { #ifndef __WIN32 #pragma section C E2FLASH #endif const CAPTURE_OBJECT profile_daily_loadsurvey[] = { {8,{0,0,1, 0,0,255} ,2 ,0, 0, 14,(void far *)date_time_ASN }, //14 {3,{1,0,1, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Impkwh {3,{1,0,2, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //ExpKWH {3,{1,0,9, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Impkvah {3,{1,0,10, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Expkvah /* */ {3,{1,0,94,91,1,255} ,2, 0, 9, 5,(void far *)billing_egy_ASN }, //Reactive energy high {3,{1,0,94,91,2,255} ,2, 0, 9, 5,(void far *)billing_egy_ASN }, //Reactive energy low /* */ {3,{1,0,5, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Impkvar Lag {3,{1,0,6, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Empkvar Lead {3,{1,0,7, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Empkvar Lag {3,{1,0,8, 8,0,255} ,2 ,0, 9, 5, (void far *)billing_egy_ASN }, //Impkvar lead }; #pragma section any help?

Forum Post: RE: GUIX Vertical lists

$
0
0
Hi Mike, Does the drop-down list widget have "Accepts Focus" and "Enabled" options enabled in GUIX Studio? Does it use popup list wallpaper? Please check also "Total Rows" and "Open Height" settings. Regards, adboc

Forum Post: RX62T

$
0
0
In RX62T sample code, 120-degree Trapezoidal-wave with Hall Sensor Question 1. In PWM.h #define PB_4 PORTB.PORT.BIT.B4 // dir How can I tell the ralation between PB_4 with the direction of motor. I do know PB_4 == 0 means CW and else means CCW but I donot get it. Question 2. In the Main.c, case MOTOR_START: /* wait for 0.5 sec*/ if(g_tmr_msec_Soft == CNT_500msec) {...... The case of motor start g_tmr_msec_Soft is used for counting Also in cnt_drv.c MTU31_TGIA1_isr My question is when the counter would inrcrement and for what? Question 3. In main.c hw_setup void hw_setup(void) { /* SCKCR setting */ SYSTEM.SCKCR.LONG = 0x00020100; /* ICLK = 100MHz, PCLK = 50MHz */ ........ How can I connect 0x00020100 with ICLK = 100MHz, PCLK = 50MHz? Thank you!

Forum Post: RE: Problem with nx_tcp_socket_send while porting code from S7G2 SK to S7G2 DK

$
0
0
Gary, all EtherC1.RMII pins have drive capacity set to high except for 403 (MDC) and 404 (MDIO) which are set to medium. Pin Group Selection is "_A only" and Operation Mode is blank. I also tried creating a new project directly for DK to make sure the errors were not caused by changing the target in the configuration and had the same problems when I inserted my code. Dale, the switches on S5 are all set to off except for JTAG and ENET1. S101 and S102 are off completely. Ethernet cable is connected to the port on the main board.

Forum Post: RE: RX62T

$
0
0
Q1: Check the schematic. Port B4 is input port for switch SW2. Switch SW2 is used to select the motor direction. So PB_4 does not indicate the motor direction but it defines it. Q2: In cnt_drv.c in function MTU31_TGIA1_isr. MTU1 generates interrupt in 1ms interval. Q3: See also Y1 in circuit diagram. SCKCR = 0x00020100 >> ICK=0x00 and PCK=0x01. ICLK = f(Xin)*ICK --> f(Xin)=ICLK/ICK=100MHz/8=12.5MHz PCLK=f(Xin)*PCK --> f(Xin)=PCLK/PCK=50MHz/4=12.5MHz So external clock f(Xin) is 12.5MHz

Forum Post: E2Studio 6 build variables

$
0
0
Hi all, I'm trying out e2studio 6.0. I had a e2studio 5.4 project for RX23T. The update was almost painless, but there is one blocking problem: build variables, although they appear to be present, don't seem to be visible to e2studio. I'm using a bunch on build variables that contain the software version, and they are used in two ways: - to compose a build artifact containing the version number - to define macros with the same name at compiler's command line None of these things work. To explain better what I mean: I've defined these build variables: V1 with a value of 0 V2 with a value of 1 V3 with a value of 3 V4 with a value of 0 I've defined the following macros in the "symbols" tab: V1 with a value of ${V1} V2 with a value of ${V2} V3 with a value of ${V3} V4 with a value of ${V4} The build artifact is defined as: MyFirmware_V${V1}.${V2}.${V3}.${V4} I would expect a compiler command line containing: -define=V1=0,V2=1,V3=3,V4=0,etc... and a build artifact called "MyFirmware_V0.1.3.0" What I get, instead is: -define=V1=,V2=,V3=,V4=,etc... And a build artifact called "MyFirmware_V..." All these things worked perfectly with e2studio 5.4 Any ideas? Giovanni

Forum Post: RE: Problem with nx_tcp_socket_send while porting code from S7G2 SK to S7G2 DK

$
0
0
Hello Chris, Can you check if the problem persists when motherboard is detached from the breakout board? Regards

Forum Post: RE: Problem with nx_tcp_socket_send while porting code from S7G2 SK to S7G2 DK

$
0
0
Hello Karol, this indeed fixes the problem. Anything I can do to check if there's a defect on the breakout board or a misconfiguration?

Forum Post: RE: Problem with nx_tcp_socket_send while porting code from S7G2 SK to S7G2 DK

$
0
0
I'm attaching two pictures of the boards and their jumper settings. The green wire on the breakout board looks a bit strange, I suppose there's a kind of problem that was fixed during production?

Forum Post: RE: renesas rx63n data flash getting corrupted.

$
0
0
I suppose you have a device which does not have an ID code programmed. What you see is the contents of an erased data flash. If no ID code is programmed, flash is erased automatically on connect with FDT.

Forum Post: RE: Reference RH850/F1H

$
0
0
Hi Nicolaciot, Please try this link " www.renesas.com/.../rh850f1h.html ". Maybe you can find the information that you need. -MarkBau RenesasRulz Forum Moderator

Forum Post: RE: RH850/ F1H - "Master-Slave System" of Multicore

$
0
0
Hi markbau, Well, i didnt found any hardware solution. But i emulate via software a master/slave system now. Thanks, Olli

Forum Post: RE: How to declare persistent Variable?

$
0
0
Sorry Frank, I used compiler word by mistake. I'm using R5F1006C MCU for my new project, I'm completely new to Renesas. I coded this IC very fast with the help of CS+ code generator, but now i struck with storing part. My requirement is, I want to store byte of data, it not supposed to clear by any of the RESET except POR. I tried with static variables & also volatile, but both the variables not serving my purpose, After MCU RESET both showing zero. Previously i used 'MPLAB X IDE' for coding microchip IC, they guided me to use 'persistent' keyword. Please suggest me if you know any alternate keyword for data persist.

Forum Post: RE: How to declare persistent Variable?

$
0
0
Is there any method to access (read&write) RAM & Flash by using variables?/ pointers?/ #pragma address?

Forum Post: Windows inside window

$
0
0
Hello, I am a beginner in development at Renesas, I hope you understand! I have a window and inside it I have two other windows that will not be displayed initially, but when I click on the button1, window1 will be displayed, if I click on button2, window 2 will be displayed! How to make? SSP 1.2.0 GUIX Studio 5.3.0.1 Thank you!

Forum Post: RE: Problem with nx_tcp_socket_send while porting code from S7G2 SK to S7G2 DK

$
0
0
If memory serves me, the PDC peripheral conflicts with the Ethernet. Make sure the PDC isn't enabled on the breakout board.

Forum Post: RE: Windows inside window

$
0
0
Hello Dalton, Upon displaying top-level widget, all of its children will also be visible. You can prevent that by calling gx_widget_detach for each of these sub-windows inside window event handler for GX_EVENT_SHOW event. To show the window, you should call gx_widget_attach. Alternatively you can use gx_widget_hide/show API's, which do not deactivate widget, but prevent it from being rendered on the screen. I recommend that you implement an event handler for the top-level window and create event cases for button clicks (i.e. GX_SIGNAL(BUTTON_ID, GX_EVENT_CLICKED) to manipulate status of the pop-up windows. Regards

Forum Post: RE: Need help with e2studio debug configuration on RZ/A1H board

$
0
0
Have you tried the same thing with the earlier Segger J-link version. If it works on the earlier version do the following to the atest e2studio. copy the JlinkARM.dll for the earlier Segger J-link version i.e. C:\Program Files (x86)\SEGGER\JLink_V492\JLinkARM.dll copy it to this folder. The folder C:\Renesas\e2studio54 will vary depending on the where you in installed the latest e2studio. C:\Renesas\e2_studio54\DebugComp\ARM\Segger NOTE: make a backup of the dll in the e2studio before over writing it.
Viewing all 59170 articles
Browse latest View live