Quantcast
Channel:
Browsing all 59170 articles
Browse latest View live

Forum Post: RE: BlockErase with PFDL

There seems to be a malplaced semicolon in your code:     while(status == PFDL_BUSY) ;         status = PFDL_Handler();

View Article


Forum Post: RE: BlockErase with PFDL

You're right.

View Article


Forum Post: RE: tx_mutex_get returns error in threadx synergy

Hello Dhiraj, In this simple scenario you can use the semaphore. When buffer is unlocked (i.e. available), the semaphore count should be 1. Your application needs to execute tx_semaphore_get() before...

View Article

Forum Post: RE: Unable to add breakpoint

Hello Dhiraj, Do you see any message pop up when try to create a breakpoint? Try right clicking on the line number (to the left of the source) and clicking either Toggle Software Breakpoint or Toggle...

View Article

Forum Post: RE: Error when compiling

For SPI1 TX interrupt you have a vector definition from FIT (in r_rspi_rx.c), and a vector definition from Code Generator (in r_cg_spi_user.c). In addition you probably also have 2 initialisation...

View Article


Forum Post: RE: g_sf_comms.p_api- write hang issue

Hello Nandan, Are you seeing the same result after replacing the "write" call with g_sf_comms.p_api- write(g_sf_comms.p_ctrl, "socket send failed\n", 19, 1);? Also, are using the USB driver provided...

View Article

Forum Post: RE: tx_mutex_get returns error in threadx synergy

Hi KAROL, Thank you very much for the help. :) Regards

View Article

Forum Post: RE: tx_byte_release return TX_CALLER_ERROR

Hello Dhiraj, Return values are documented in the ThreadX User's Manual (r11um0006eu0500). tx_byte_release can only be called from initialization and threads (no interrupt routines): Regards

View Article


Forum Post: RE: Unable to add breakpoint

Hi KAROL, No, I didnt see any pop up. I tried the way you explain earlier and its working fine. Thank you :) Regards

View Article


Forum Post: RE: Interrupt vector table for custom bootloader rx62n

Okay! so for that purpose I need to generate an exception which will in turn will put the cpu in supervisor mode. Do I need to change the value of INTB while handling that particular exception? If yes...

View Article

Forum Post: RE: Not able to configure PWM for MTIOC4D (Rx62n 100pin)

I tried this but no positive results. my latest settings are R_MTU2_Set          (  PDL_MTU2_PIN_CLKABCD_B | PDL_MTU2_PIN_4BD_B          );   ch_create_param.data2  = PDL_MTU2_MODE_NORMAL |...

View Article

Forum Post: RE: tx_byte_release return TX_CALLER_ERROR

Hi KAROL, Thank you so much. It was very helpful. Regards

View Article

Forum Post: RE: Interrupt vector table for custom bootloader rx62n

Yes, the INTB register has to be modified in the exception handler. The CC-RX compiler has an intrinsic function int_exception(number), which can trigger an exception.

View Article


Forum Post: need FDL EEPROM lib

can any one send me FDL and eeprom emulation lib(IAR compatabal). EEPROM Emulation Library (Select RL78 and EEPROM_EMULATION_RL78) FDL Software Library (Select RL78 and EEPROM_EMULATION_RL78)

View Article

Forum Post: RE: g_sf_comms.p_api- write hang issue

Hi karol, Write is failing at different places. I have a common function called debug_print. void debug_print(char * log) { g_sf_comms.p_api- lock(g_sf_comms.p_ctrl,SF_COMMS_LOCK_ALL,TX_WAIT_FOREVER);...

View Article


Forum Post: RE: g_sf_comms.p_api- write hang issue

All memory in the Synergy project is allocated statically (even the heap pool), RAM usage can be seen in the compiler output (RAM = data + bss). Try increasing global heap a little bit and also the...

View Article

Forum Post: RE: g_sf_comms.p_api- write hang issue

Thanks for the reply karol! If i comment out the gx_system_canvas_refresh  write will not hang. It is working fine!! It is in a while loop,updating the system up time to the lcd. What might be the...

View Article


Forum Post: RE: code samples for gnu as RL78/G12

There is an RL78 book: www.renesas.com/.../RL78G14_Update.pdf Chapter 6 touches on assembly language programming. If you want to get a good feel for the instruction set and the processor itself, I...

View Article

Forum Post: RE: need FDL EEPROM lib

So? When you register on Renesas MyPages you should be able to download the libraries from there.

View Article

Forum Post: RE: Not able to configure PWM for MTIOC4D (Rx62n 100pin)

Does the timer run? Is the interrupt request generated? Why do you define a interrupt level when no interrupt function is being used (PDL_NO_FUNC)?

View Article
Browsing all 59170 articles
Browse latest View live