Tuesday, May 22nd 2018, 1:54pm UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-11 of 11.

Friday, April 27th 2018, 2:33pm

Author: jenlan

Options Bytes für STM32 programmieren

Hello Nino, sorry for not writing in english, i will change that now :-) I tried to use the files. But i still have trouble. I tried to do exact the same steps from the L0 file, only with a different value for the option register. But it did not help. Then i tried to use your file and i only changed the controller to our type. This did not work too. With Commander also no read out protection. See picture attached. I'm very confused. I hope someone can help

Thursday, April 5th 2018, 9:03pm

Author: jenlan

Options Bytes für STM32 programmieren

Hallo zusammen, wir möchten für den STM32L051C6 den BOR einschalten (Level 5). Lt Ref Manual müssen dazu im FLASH_OPTR Register die Bits 19 bis 16 auf 1100 gesetzt werden. Wenn ich es richtig verstanden habe werden die bits 31 bis 16 dieses Registers beim Booten automatisch mit den Option Bytes von Adresse 0x1FF8 0004 geladen. Wobei hier in den Bits 31:16 die negierte Form und in 15:0 die nicht negierte Form der zu setzenden Bits stehen muss. Also versuchen wir ein 0x7F83 807C an die Adresse zu ...

Friday, February 10th 2017, 5:33pm

Author: jenlan

Addional compiler options for Clang

Hi Johannes, I tried your solution. The compiler was not complaining about the option anymore. But we still get the warning. It seem's the compiler is ignoring the option... or i understand something wrong. Please see attached pictures

Friday, February 10th 2017, 10:21am

Author: jenlan

Addional compiler options for Clang

Hi, i switched compiler from gcc to clang. Now we are getting a lot of warnings like : "passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign" So i was trying to use "/J " compiler switch to handle chars as unsigned. But if i Add "/J" to addional compiler arguments, i always get a Error like: "error reading '/J'" :-( What can i do?

Wednesday, April 6th 2016, 8:20am

Author: jenlan

JPEG Display Error

Hello, When I try to draw JPEG´s I get a faulty display. Original: Result: C/C++ Source code 1 2 3 4 5 6 MS_LoadFileIntoMemory(&fileNames[currentSel][0], arrayImagePreview1, MEMORY_SPACE_IMAGE_PREVIEW_1, USBH_Path, &realFileSizePreview1); prepareDrawPicture(); //For newXPos, newYPos, numeratorDraw, denominator GUI_JPEG_DrawScaled(arrayImagePreview1, realFileSizePreview1, newXPos, newYPos, numeratorDraw, denominator); C/C++ Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2...

Wednesday, January 20th 2016, 10:56am

Author: jenlan

Show .emf Movie

Hi Sven, thanks a lot for your quick reply! It helps to know that the function fits that way. I try to find the bug in the USB driver. Greetings Jens

Wednesday, January 20th 2016, 8:22am

Author: jenlan

Show .emf Movie

Hi, i try to create a movie by using a file which is not available in addressable RAM or ROM. The file is stored on USB. I use this funktion: int MS_GetData(void * p, const U8 ** ppData, unsigned NumBytesReq, U32 Off) { volatile uint32_t offset = Off; volatile uint32_t bytesReq = NumBytesReq; unsigned int NumBytesRead; FIL * phFile; phFile = (FIL *)p; /* Set file pointer to the required position */ f_lseek(phFile, Off); /* Read data into buffer */ f_read(phFile, (U8 *)*ppData, NumBytesReq, &NumB...

Wednesday, January 20th 2016, 8:00am

Author: jenlan

Czech text in text widget

Hi, Thanks for the answer. It works! Greetings

Monday, December 14th 2015, 12:42pm

Author: jenlan

Czech text in text widget

Hello, I would like show Czech text in a text widget. The text is in a .txt file which I load from an SD card. Default Font ist Montserrat. The word I want to show is: "Ceština" textSelectLanguageCzech = TEXT_CreateEx(TEXT_SELECT_LANGUAGE_CZECH_POSITION_X, TEXT_SELECT_LANGUAGE_CZECH_POSITION_Y, TEXT_SELECT_LANGUAGE_CZECH_X_SIZE, TEXT_SELECT_LANGUAGE_CZECH_Y_SIZE, MENU_windowSelectLanguage, WM_CF_SHOW, TEXT_CF_HCENTER | TEXT_CF_TOP, TEXT_SELECT_LANGUAGE_CZECH_ID, ""); TEXT_SetText(textSelectLangu...

Wednesday, November 18th 2015, 10:31am

Author: jenlan

emWin Button redraw

Hi, Thanks for the answer. I have solved the problem a few days ago. A callback function(as proposed) did the Job. Greetings

Wednesday, November 11th 2015, 9:38am

Author: jenlan

emWin Button redraw

Hi, I have a question about how to create a button with Bitmap and transparent background. GUI_EnableAlpha(1); GUI_Clear(); //Voreinstellungen BUTTON_SetDefaultSkinClassic(); BUTTON_SetDefaultBkColor(GUI_TRANSPARENT,BUTTON_CI_DISABLED); BUTTON_SetDefaultBkColor(GUI_TRANSPARENT,BUTTON_CI_PRESSED); BUTTON_SetDefaultBkColor(GUI_TRANSPARENT,BUTTON_CI_UNPRESSED); WIDGET_SetDefaultEffect(&WIDGET_Effect_None); //Callback WM_HWIN mainWin = WM_GetDesktopWindow(); WM_SetCallback(mainWin, cbMain); //Hinter...