Quantcast
Channel: Forum - Recent Threads
Viewing all 4262 articles
Browse latest View live

Display and Touch inversion with S7G2 GUIX

$
0
0

In these days we have succesfully managed our HMI interface (based on TFT 8 "display with 800x600 pixels and resistive 8" touch screen) with the DK-S7G2 kit and our adapter card.

We started from the an-r12an0029eu0105-synergy-dk-s7g2-guix-hello-world.zip project and we have modified it according with guide instructions.

In order to obtain the right visualization we have properly defined two signals (U/D and R/L) on display connector. These scanning mode selection signals are available in recent displays but they aren't in previous ones.

Since our new board, based on S7G2, should be used also as a spare part inside our controllers that use different models of these displays. we should handle them all.

Using the old displays that do not have the U/D, R/L signals, I get an inverted representation both horizontally and vertically.
At this point I looked in the Renesas Synergy FAQ and forum and I did some tests.

I have tried all the combinations of "sf_el_gx | Screen Rotation Angle (Clockwise)" and "r_glcd | Input - Graphics screen1 input line descending" obtaining only one visible image but with only horizontal inversion. Many of the other combinations even do not represent anything. In addition on the visible one the touch was not inverted: I tried to modify "sf_touch_panel_i2c | Touch Coordinate Rotation Angle (Clockwise)" but the pressures were always wrong.

In conclusion, can I manage the old displays without scanning signals?
Has Renesas plans to add inversions for display and touch?
If so when will they be available?

 

 


Skkynet etk version for SSP 1.4.0?

$
0
0

Hey all ,

 

How can I install the skkynet etk tool addon for ssp 1.4.0 so that I can integrate on my SSP and work on that easily ?

Behavior of Low Voltage Detection (LVD) in S7G2

$
0
0

I have implemented a test of the CPU voltage using the LVD and instructions found in Renesas app note R01AN3492EU0101.

I initially configured my test to generate an NMI if the CPU voltage fell below 2.99 volts. I didn't expect that I'd get an NMI in this case and I didn't.

Next, in order to validate that I had set everything up correctly (and since my CPU voltage is constant), I reconfigured my test to generate an NMI if the CPU voltage _exceeded_ 2.85 volts. But still no NMI.

My question is: will the low voltage detector generate an NMI if it sees the CPU voltage in violation of its configured limit? Or will it do so only when the CPU voltage actively _moves past_ its configured limit? In other words, is it looking for an edge? (that I'm not giving it in my experiment)

Any advice appreciated!

Erik

E2 Studio lost Renesas HW Debug configuration (E2 V5 SSP 1.3.4)

$
0
0

in E2 Studio, I somehow lost my hardware debug configuration to my PK-S5D9 board. When I started to debug, E2 asked me to pick a Jlink debugger, then pick s processor type. After I did that it just seems to sit there when I started the debug session - it won't switch to the debug perspective automatically.

I have an old version of this project that still works - what file can I load into this project to get all the debug configs back and working.

Thanks
Larry

nx_udp_socket_create(....)" takes more than 40 seconds until the process is continued.

$
0
0

I try to build up the UDP communication between DK-S7G2 and PC. This works fine now on my application, but I don´t understand why the
"status = nx_udp_socket_create(&ip_0, &udp_socket, (CHAR * )"OSB UDP Port", NX_IP_NORMAL, NX_FRAGMENT_OKAY, NX_IP_TIME_TO_LIVE, 30)" takes more than 40 seconds until the process is continued.

Bug seen with SDMMC fx_media open (DMAC close, SSP_ERR_NOT_OPEN)?

$
0
0

Hello,

I am working with an SD card. The whole solution works, and the media opens correctly (and I can read and write). However now that I'm listening for SSP errors, I am getting a:

DMAC_ERROR_RETURN(p_ctrl->id == DMAC_ID, SSP_ERR_NOT_OPEN);

This is occuring with the following call tree:

fx_media_open() -> _fx_media_open -> SF_EL_FX_BlockDriver() -> SF_Block_Media_SDMMC_Close() ->  R_SDMMC_Close() -> R_DMAC_Close()

I am using DMAC with this SD card. To repeat I can open, read, write and close the media just fine.

It appears, and that when I call fx_media_open() the Renesas driver does not start the DMAC, but with the close, it calls the DMAC, thereby causing the error.

-------------------------

The same appears to occur with the fx_fault_tolerant_enable(). I get the DMAC_ERROR_RETURN(p_ctrl->id == DMAC_ID, SSP_ERR_NOT_OPEN); error.

 

How to do a command line build with e2 and IAR?

$
0
0

When using the IAR tool chain, it does not create a makefile like gcc does.  The option is grayed out.

I tried following the e2 help for command line build for Jenkins.  When I did this, I got many  "no "arm" SDK available" errors.  Is there an option or setup I'm missing?

I prefer the makefile option but I'll take anything that will work.

USBX Mass Storage Class Host, up dated workspace

$
0
0

Since yesterday I'm testing USB pen drives connected to J3 connector of DK-S7G2.

I found two suitable application notes
an-r11an0173eu0101-synergy-ux-host-class-mass-storage-mod-guide.zip
and
an-r30an0239eu0122-synergy-usbx-MassStorageClass-host.zip
but when I use them neither work: no success LED is activated and the file counter.txt is not created, nor updated, over the pen drive.

I must point out that the DK-S7G2 workspace were imported and then automatically updated during the Generate Project Content and Build actions, in fact the development PC I'm using has only e2studio 6.2.0 and SSP 1.3.0 and 1.4.0.
I confirmed the irreversible update proposal and everything happened without problems, I suppose.

After hours of investigation I saw that the program starts but it does not generate any USB Host event.
I searched my self possible reason why and I read many posts dedicated to USBX Mass Storage Class Host but but I didn't found a solution and in a few hours I should finish the test!

Are there up dated workspace, already tested and ready to use?
Any suggestion will be really appreciated.

Best regards

MPGA


MPU Stack Error when running TraceX (previously worked)

$
0
0

Hello,

 

I'm getting a MPU Stack Error stack error when trying to run TraceX (SSP 1.3.3), as caught in NMI_Handler() in bsp_group_irq.c. I have had TraceX previously working. Since then I have a few more threads, some of the self-tests from the self-test library (including independent watchdog), and SSP exception handling enabled. Everything works fine without TraceX enabled. I have tried it with and without FileX source. I also tried disabling error checking in ThreadX source.

The exception appears to be coming from tx_thread_schedule.c, line number 216 (it's an assemble call).

It occurs after all my threads are created, but appears to be before any are called.

In ThreadX source, I have TraceX configured with defaults. 

I did a clean / rebuild all in IAR. I am using the FX / UX_TRACE_INSERT_MACROS as appropriate.

Thanks,

Brian

How do you locate all GUIX Studio resources in external QSPI memory?

$
0
0

Hi -

What is the best way to build a project so all of the GUIX studio resources are placed in QSPI memory? 

 

- Using BSP_PLACE_IN_SECTION(".qspi_flash_data") I can get individual items to link to the QSPI, but this is not an option for the large number of GUI items.

- The resource and specification files generated by GUIX studio are placed in their own directory: \src\guix_gen\GNU

- In the linker script I added the following:

    /* Place GUIX Studio generated objects in QSPI */
    .qspi_guix :
    {
        . = ALIGN(4);
        *guix_gen/GNU/*.o
        . = ALIGN(4);
    } >QSPI_FLASH

This resulted in all the GUI code being stored in QSPI -and- internal flash with the the map showing internal flash addresses (not QSPI) for all of the constants in the GUI.

Any help would be appreciated!  

cheers,

jamie

 

An issue with the inability to import Pixelmap IDs for pixmaps into e2 studi

$
0
0

Hi,everone
Recently, I tried to create my own project by learning the "washing machine" routine. During the creation process, I imported a pixmap ("WHEEL_DOT_ORANGE") from the "washing machine" routine into my own project (imported into the corresponding folder in e2 studio) and added it in the pixmap area of GUIX. After it, apply it in my workspace. When the workspace in GUIX is done, I will be all the "resources" and "specifications" files are imported into e2 studio.
At this time, the system reported an error: An error occurred in the "specifications.c" file (error is shown in the figure below)


When looking for the source of the problem, I found that in the "resources.h" file, there is no Pixelmap ID declaration for the pixmap (as shown below)


To solve this problem, I checked the import path of the pixmap again and found no problems.
Hope you can help me solve this problem.

Best regards,

ghg

MD pin configuration ambiguity for UART bootloader!

$
0
0

Hello Guys,

 

I want to have the UART Non blocking bootloader as well as Ethernet Bootloader on my custom board of S5D9 controller, so i have read the manual there are two operating mode and it will be selected by the MD pin configuration.

 

Now what should i do for that pin when i want to use the controller in boot loader mode and application code too.?

 

can any one make me more clear about the MD pin ?

 

A problem with creating a "specifications.o" file failed

$
0
0

Hi,everony
Recently, I tried to create my own project by learning the "washing machine" routine. During the creation process, I imported a pixmap from the "washing machine" routine into my own project (imported into the corresponding folder in e2 studio) and added it in the pixmap area of GUIX. After it, apply it in my workspace. When the workspace in GUIX is done, I will be all the "resources" and "specifications" files are imported into e2 studio.
At this time, the system reported an error: (error is shown in the figure below)

Best regards,

ghg

writing data on web browser

$
0
0

Hi

Am working on ethernet webserver.

Am able to load a html page from sd card.

I have a box in my html where i wish to write data from board  , but am unable to do it.

It seems like a static page.am unable to update a data

 

Is it possible to write data at any particular location on web browser after loading it from sd card.

 

Thanks and Regards

Rizwan Syed

Real time video with S7G2

$
0
0

Is S7G2 capable of playing real time video, say at 24/25 fps, RGB565 color and a resolution like 800x600 or similar? With the info available I think it is only capable of slow rate animations, but I wonder if someone has succeeded with real time video.

Thanks in advance.


Example of using Secure MPU memory protection

$
0
0

Are there any examples of using the secure MPU features of the Synergy parts? Is there an api in synergy somewhere?   I recall that IAR may have put in some hooks into their compiler - is there anything in E2 Studio.  Any examples would be nice.

Thanks in advance.

Larry

Console over USB takes a long time to show up in SSP 1.4.0

$
0
0

hello,

I am using a TB-S5D5 board with Windows 10, E2studio 6.2.0 and SSP 1.4.0.

I would like to communicate with my computer via an USB console

I used the console framework, and I modify two parameters.

 

USBX Device Configuration → Class Code → Miscallaneous

 

g_sf_el_ux_dcd_fs_0 USBX Port DCD on sf_el_ux for USBBSF → Settings → Common → Full speed Interrupt Priority → Priority 1

 

It was taking one second with SSP 1.3.0 to display the console on my computer but now with SSP 1.4.0, I have to wait around 15 seconds before the console be displayed. I tried with Terra and Putty, it is similar.

 

This is my framework:

This is my code:

 

#include"console_thread.h"

 

constsf_console_menu_t g_sf_console_root_menu =

{

.menu_prev = NULL,

.menu_name = (uint8_t *)"Console prompt test",

.num_commands = 0,

.command_list = NULL

};

 

/* Console Thread entry function */

voidconsole_thread_entry(void)

{

while (1)

{

g_sf_console0.p_api->prompt(g_sf_console0.p_ctrl, NULL, TX_WAIT_FOREVER);

tx_thread_sleep (10);

}

}

 

Any clue why it is taking so long? Did I miss something in the configuration of the framework?

 

Kind regards

 

 (Please visit the site to view this file)

Pin can't be written logic value

$
0
0

Hi all,

I have the IOPORT_04_PIN_15 set as an output and so far it was working fine, but now

I cannot set pin to HIGH (3V), apparently this pin is not working anymore.

I'm wondering if it's possible to only ruin a single pin of a port in the S7G2 microcontroller.

And if there's a way to be sure if the pin is really ruined, and any ideas how could that happen.

Regards,

Phillipe

S7G2 - Programming flash successful, but device do not start with application

$
0
0

Hi there, 

We're using the S7G2 SOM designed and manufactured by TeamFDI. We created an app, which works well when using the debugger on e2  studio. However, when we try and program the flash using jlink, the programming seems to be successful, but the application do not actually start up automatically. I've however used the example projects on the TeamFDI website, and when building and programming through jlink it does actually start up automatically. 

What am I missing? Is there a setting I need to set? 

I'm currently using SSP 1.3.3. 

Any advice or suggestions will be appreciated. 

Thank you in advance. 

Johan

GUIX in DK S7G2

$
0
0

Can I store Memory section for GUIX Canvas Buffer & Memory section for JPEG Work Buffer  in SD CARD ,If it Will be Possible Then How??  

Viewing all 4262 articles
Browse latest View live