Search Results

Search results 1-20 of 38.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hi! That does not work and I do not understand the corresponding ID code above. After flashing 84848484848484848484848484848484 :020000040101F8 :100018008484848484848484848484848484848498 :00000001FF I expect to be able to connect with this code entered in ID Code dialog. ALeRASE works. Best regards, HaJo

  • Hi! According to the change notes of v7.88j "Renesas RA family: Added support for protection unlock via ALeRASE code" this feature is expected to work now, but it "does not" - full-featured as I had expected...... (I tried this code F0000000000000000000000000000000 flashed at 0x1010018 - this protects the code - but J-Flash fails to (re-)connect with this code. The known ALeRASE-Skript works - it disables the protection and erases the flash.) With ID Code FFFFFFFFFFFFFFFFFF45534152654C41 entered…

  • Thank you for your fast support. My build script suppressed the line feed from the beginning... Luckily it worked at all, until... Best regards, HaJo

  • Just create a program.jlink file with all commands needed, like this with Python or ... Source Code (9 lines)Call jlink.exe -device XYZ -CommandFile program.jlink Of course, interface and speed could be set in command line already. You have full control inside (reset and/or run or...) and can change the filename(s) to be flashed here. I call this commandfile scripted with a fixed name, but I change the content (filename-hex, config or version) every time before start. I also evaluate the output …

  • Hi! Line ending here is just carriage return, no comments or anything else inside! With ..test2 and jlink.exe command line parameters only the first line will be executed properly. Since v7.88l JLINK requires CRLF in these files! So, that is the reason for this behaviour. I have to correct the line endings (which are generated by script). Best regards, HaJoCC

  • Hi! Since v7.88l JLINK.EXE refuses to run my scripts properly (with jlink plus connected): Skript1 - last command "connect" not executed: device R7FA2E1A9 si SWD speed 4000 connect Source Code (23 lines) After further investigation I suppose that only the first line is executed properly, if device, speed and interface is given already as command line parameter before that. Skript2: erase 0x40100000, 0x40100FFF, reset erase 0x40100000, 0x401000FF, reset loadfile testfile.hex results in: Source Co…

  • Dear SEGGER experts, is this dialogue supposed to work with this type of MCU? I expected to connect to this MCU again by entering the valid ID Code according to the documentation, but it fails. I also tried the reversed bit order and other mirrored ID codes. The JFlash ALeRASE skript works - kill the protection and erase all as intended. My intention is to protect the code with an ID code and use this ID Code to connect again and flash a different firmware (or to debug). I found a post about RA2…

  • Found the solution! Setting XSIZE_PHYS 320 and YSIZE_PHYS to 480 instead of 240... SIM_GUI_SetMag(2,1); to double the x-resolution for the simulation (because 0.5 in y is not possible). X and Y have correct ratio on PC screen in frame. Change device.bmp where the GUISimulationDebug.exe resides to 640x480 (not 320x480!). Now the simulation shows the correct aspect ratio (double pixel size is OK). It does not work without device.bmp, since the black standard frame does not scale automatically, whi…

  • Hi ! I would like to change the resolution and scaling in y-direction, but it does not work. My GUI works fine in 320x240 (on native display hardware and in Win32, aspect ratio 4:3). I changed the hardware display to a high-DPI 320x480 type display, so we have a double y-resolution, but the same aspect ratio. The simulation shows real pixels 320x480 (1:1) - stretching in y, the display itself shows the aspect ratio according to the double density pixels, which is the same as in a 320x240 pixel d…

  • Hi ! I understand that not all features are available in STemWin 5.32 for STM32 for free. Unfortunately, the x-y-swapped LIN-Driver for 1bpp is not supported by the compiled library (CM0), but mirror for x an y are. Could this be changed in the next release? I have to use GUI_SetOrientation now. This takes 9kB FLASH and 6kB SRAM here. Is there an easy workaround for this? ST still provides the "old" V5.32. Best regards, HaJo

  • Hi Sven, O.K. I will change that. I started with GUI Builder and used image widget as buttons from the beginning. I use hide/show window and invalidate in WM_NOTIFICATION_RELEASED. Best regards, HaJo

  • Ahhh nooo! How easy is that? It was aleady there, right in front of me. It is always the same: "Read the f* manual!" I skipped the pattern section... Thank you for this hint. And also thanks for the windows font settings hint. Best regards, HaJo

  • Hi, in certain examples there are only characters included which are used here. Is there an easy way to achieve that automatically? It is o.k. to pick some characters one by one in the font converter or even all... HOWEVER: now I have a chinese text to be displayed. Due to lack of memory I presently use XBF-files (completely converted font) on a SD Card (SimHei, 5 Megabytes!). I would like to extract only characters used in the final text (like 200 characters out of 20.000) to include them in me…

  • Hi ! How can I paint text on top of existing dalog windows? "Empty" universal buttons should be filled with text in different languages as an overlay instead of using different Images with included text. WM_PAINT (dialog) paints the buttons. But GUI_DispStringAt("OK",140,145) as last line in WM_PAINT creates this text "below" the button which is created as IMAGE_CreateIndirect, "OK Button", ID_IMAGE_OK, 162, 153, 124, 50, 0,IMAGE_CF_AUTOSIZE, 0. The text is always hidden by this button. The orde…

  • V5.32 compiles and works fine now. Thanx!

  • Hi! I just tried to compile emwin5.30 unmodified demo from SeggerEval_WIN32_MSVC_MinGW_GUI_V530.zip with CodeBlocks (SimulationTrial.cbp). I get this error: GUI\Library\GUI.a(GUI_SPY.o):GUI_SPY.c|| undefined reference to `GUI_SPY_X_StartServer'| due to line 32 in guidemo_start.c. I would like to test the emspy functionality. Is it not available in this demo? #define GUI_SUPPORT_SPY 1 according to manual does not help... Best regards, HaJo

  • Timer triggers WM_Paint

    HaJoCC - - emWin related

    Post

    Hello Adrian, is it true that a timer always triggers WM_Paint in a dialog? There is nothing to repaint, because nothing has changed. This is intended, right? Does the gui always repaint or only when necessary (invalid area)? I wonder if it eats CPU-power by going through the WM_PAINT every time the timer triggers... Best regards, HaJo

  • Timer triggers WM_Paint

    HaJoCC - - emWin related

    Post

    Hello Adrian, is it true that a timer always triggers WM_Paint in a dialog? There is nothing to repaint, because nothing has changed. This is intended, right? Does the gui always repaint or only when necessary (invalid area)? I wonder if it eats CPU-power by going through the WM_PAINT every time the timer triggers... Best regards, HaJo

  • Text always on top...

    HaJoCC - - emWin related

    Post

    Hello Adrian ! I tested the following: GuiBuilder, create a window with a bitmap, a text and another bitmap. First bitmap is in background, then text and the second bitmap above the text (partially covered) as expected. Same in simulation, of course. Changing the order in _aDialogCreate changes the order on the display as expected. If I do not use IMAGE_SetBMP but GUI_DrawBitmap instead, the text (Text_CreateIndirect) will ALWAYS be in front of that picture! What is the reason for that? I need t…

  • Text always on top...

    HaJoCC - - emWin related

    Post

    Hello Adrian ! I tested the following: GuiBuilder, create a window with a bitmap, a text and another bitmap. First bitmap is in background, then text and the second bitmap above the text (partially covered) as expected. Same in simulation, of course. Changing the order in _aDialogCreate changes the order on the display as expected. If I do not use IMAGE_SetBMP but GUI_DrawBitmap instead, the text (Text_CreateIndirect) will ALWAYS be in front of that picture! What is the reason for that? I need t…