Dear Karol, Thank you. I modified the configuration to embedded, SD/MMC 1-bit and recompiled and had the same result with error 144, FX_IO_ERROR. I will have to do more testing on this end, but wanted to ask if you think the different BSP initialization for the HMI vs the SK might directly cause any problems for the sole purpose of testing out the filex feature. Also, as I am still new with this environment, I am not sure that what I am seeing below is expected or is not -- when I run the debugger, it reports two threads - and the stack trace seems to be in two different places with both threads calling g_hal_init which then calls fx_media_init -- my understanding is that only one initialization is supposed to happen? Thanks for your help.
↧
Forum Post: RE: FileX on SD Card on SK-S7G2 using SDHI1?
↧
Forum Post: RE: CRC framework API not producing as expected question
Matt, The seed value for the CRC should be 0xFFFF not 0xA001 that you used. g_crc0.p_api->calculate(g_crc0.p_ctrl,xmit_buffer,6,0xFFFF,&ui32CRC); Also, you should set the proper bit order (LSB) in the properties tab for the CRC module. -Gary
↧
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Thanks Georgi ! Just to follow up, are there Yocto project recipes available for adding OpenCV 3.0 to the RZ Linux BSP ? Also, do you know if it is possible to add Tensorflow to the RZ Linux BSP using the Yocto Project build environment ? Additionally, can a USB webcam be added to an RZ/G1H platform successfully with just the drivers that are part of the RZ Linux BSP or would additional drivers need to be baked into the BSP ? Thanks in advance for any help on these additional questions. Rai
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Thanks Georgi ! Just to follow up, are there Yocto project recipes available for adding OpenCV 3.0 to the RZ Linux BSP ? Also, do you know if it is possible to add Tensorflow to the RZ Linux BSP using the Yocto Project build environment ? Additionally, can a USB webcam be added to an RZ/G1H platform successfully with just the drivers that are part of the RZ Linux BSP or would additional drivers need to be baked into the BSP ? Thanks in advance for any help on these additional questions. Rai
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Hi Gary, I fixed my code. I can use the callback function to set a boolean flag. But, I still have the same problem and receive SSP_ERR_IN_USE. I have been using the standard speed. I decided to change to the fast speed. The problem goes away completely with or without the callback completion flag. So, I used the scope to look at the waveform and check the actual clock frequency generated by the firmware. Fast mode : 0.379khz (data sheet max 0.400khz) Standard mode: (-02 optimization level): 0.098khz (datasheet 0.100khz) (-00 optimization level): 0.095khz (datasheet 0.100khz) I don't see any other significant timing difference between -02 and -01 setting. Have you experienced this type of problem? Would I be able to reduce I2C SCL clock to prove the theory through API calls? Thank you, Michael
↧
↧
Forum Post: RE: Unknown error code starting TLS
I found nx_secure_tls_timestamp_function_set() function and am trying to use it, but am getting a Error[Li005]: no definition for "nx_secure_tls_timestamp_function_set" Which include file do I need for this in SSP1.3.2?
↧
Forum Post: RE: Read and write failures with FileX and micro SD card.
Hello again, I was able to correct the problem by changing the transfer driver from an r_dmac to an r_dtc. I am not sure yet what the difference is between the two but I will have a look at the MCU User Manual. Either way, I am now able to create, write to and read from files generated in the FileX framework. Regards, Paul
↧
Forum Post: RE: New SSP module not visible in Threads
Reinstalling the e2studio did the job. Now the new SSP module is visible in the Threads tab. Still it would be nice to create a simple example .pack for use with the guide for better undestanding of this topic ;) Thank you all for your help!
↧
Forum Post: RE: CRC framework API not producing as expected question
Hello Gary, Thank you. That was it. I was under the incorrect impression that 0xA001 was the seed value. On a side note with respect to the CRC generator, there is the ->open function call and a close. How important is it that the device be closed? Can it be left open or will in consume extra ram if left open? Thank you again for setting me straight! Matt
↧
↧
Forum Post: RE: HDMI issue
Hi Anush, Two display models that we have tested and didn't work are RTK 32V3H-H6A and Asus VT207. I wonder whether the settings you are specifying are just too low for the Dell display. Have you tried setting it to '1920x1080-32@60'? Do you see anything on the display during Linux booting? Or is it just that error message from the very beginning? If you only see the message at the end of the boot process when the Weston desktop should be displayed, you can try setting the display resolution in weston.ini as well. The HDMI output should be named 'HDMI1' in weston.ini if you are using the 3.10 BSP. In the 4.4 BSP the name should be 'HDMI-A-1' - same as in u-boot. Regards, Georgi
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Hi Rai, Small correction to my previous reply - in order to get the Uncanny libraries you would contact Uncanny Vision, not iWave. There is a recipe for building OpenCV 3.0 in our Yocto 2.0 build environment (which builds a BSP based on kernel 4.4). There is no such recipe in the Yocto 1.6 environment (kernel 3.10). If you are building a BSP you can switch from the default OpenCV 2.4.11 to OpenCV 3.0 by putting the following line somewhere, e.g. in your local.conf - PREFERRED_VERSION_opencv = "3.0%" USB cameras should work without any extra drivers. You just need to enable support for the UVC USB class in the kernel (CONFIG_USB_VIDEO_CLASS). As for Tensorflow - it doesn't look like it can be added to the BSP using Yocto. It is possible though to build it separately and add it to the BSP that way. The process is quite involved since Tensorflow has a lot of dependencies - Python modules, math libraries, etc. You actually have to rebuild the GCC compiler as well and add support for Fortran because it is not there by default. I can send you instructions on the whole process, however let me first check whether we have a pre-built BSP for the iWave board that has all the features that you need. Regards, Georgi
↧
Forum Post: RE: I2C SSP_ERR_IN_USE when I set optimization level to 02. Why?
Hi Gary, I built a new project with the framework layer. To my delight, it works regardless of whether I choose the standard speed or the fast mode speed. You are right about the framework solution. I measured the clock frequency with the scope. It is 0.101khz (standard) and 0.388khz (fast mode). The clock frequency with the framework is little faster, but it does not fail. So, it may not related to clock speed spec issue. I still would like to use the IIC driver if possible if I know what is causing this failure. I have other I2C devices which work correctly at fast mode with the IIC driver. Standard Fast mode IIC driver without callback Fail (1) Pass IIC driver with callback for completion check. Fail Pass IIC framework Pass Pass (1) if the C/C++ optimization level is set to zero (none), it will be Pass. Best regards, Michael Software version: SSP 1.3.0 and e2 studio 5.4.0.023, S5D9 IOT 1.3 PACK
↧
Forum Post: RE: 1 of 107 Rl78/G13 IIC Problem
Hello salman R5F10268A is not the RL78/G13. It is one of the RL78/G12. RL78/G12 has two different I2C functions. One is IICA. It supports Multi Master and Slave. The pin name is SDAA0 and SCLA0. Other one is Simple I2C. It supports only Slave as single communication. It is a function of Serial Array Unit. The pin name is SDA0x and SCL0x. Which one did you use? What happened phenomenon? You should give more information or else anyone can not answer anymore.
↧
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Thanks Georgi ! That would be fabulous ! Rai
↧
Forum Post: RE: computer vision support for RZ/G1H MPU platforms
Thanks Georgi ! That would be fabulous ! Rai
↧
Forum Post: How to see the Heap memory usage for IAR
Hi, I would like to see the run time heap memory usage details for the IAR embedded work bench. Please see below details of my working environment IDE : IAR Embedded work bench for Renesas RL78 functional safety version 1.40.7.93. Can you please any one help me on this. Regards Bala
↧
Forum Post: RE: CS+ : CC-RL How to organize memory into sections
What means "source code is mapped to section as expected"? Is it mapped to your new sections or the original sections? It is correct to use #pragma section. Usage: #pragma section [ section-type][ new-section-name] section-type:{text|const|data|bss} Section type for code is "text". The new section names get an extension "_n" (near) or "_f" (far) from the compiler. You have to take care of this in the sections defined in the linker. If you don't give a section type all sections are changed. The new section names are "old section type"+"new section name"+extension. Example: pragma section _New Code will go to text_New_n and text_New_f. Initialised data will go to data_new_n and data_New_f. Section names with '@@' are from CA78K0R. They are not used in CC-RL.
↧
↧
Forum Post: RE: Can any one share me sample project for CAN application for Renesas Synergy™ Starter Kit SK-S7G2 R7FS7G27H3A01CFC
Hi adboc, Thanks for your immediate response. This helps a lot.
↧
Forum Post: RE: How to see the Heap memory usage for IAR
Recommendation: DO NOT USE HEAP. This is not useful for embedded controllers, especially if the application runs for long times. The compiler library does not have garbage collection functions. This means that after some time the heap is fragmented as freed segments are not merged to one block. At that point it is not possible any more to allocate larger blocks of heap. See chapter "Dynamic memory on the heap" in the compiler manual (page 64). If you still want to use it refer to "SETTING UP HEAP MEMORY" in the compiler manual (page 90).
↧
Forum Post: RE: nx_ip_interface_info_get + MAC Address
Gary, I made the modification as you said. When i put a breakpoint and check the value of mac, it seems that the value is equal to the pointer address. Is it normal. What's wrong with my code? Mickael
↧