Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all 3049 articles
Browse latest View live

None: massi


None: is the return code from app from user build step ignored?

$
0
0
I have a batch file that does a few things at the end of the build, such as converting a HEX file to a BIN file; and if that works then doing additional steps. The problem I'm experiencing is that if all of my user build steps pass (all done in a batch file) then I return zero, otherwise I return a positive integer. I've instrumented my batch file to show that when a failure is encountered the DOS batch file "EXIT" command is executed to return a positive inte

ARM: Web server on two ports or HTTP Redirect

$
0
0
Environment: STM32F407, Keil Middleware, Keil Network Core IPv4 v7.5.0, Web Server Compact (HTTPS) v7.5.0, MbedTLS v2.4.2 Reference: http://www.keil.com/pack/doc/mw/Network/html/index.html, http://www.keil.com/pack/doc/mw/Network/html/group__net_h_t_t_p___func.html Question: Does anyone know how to 1)configure the web server to listen on both port 443 and 80? ~or 2)configure a http redirect from 80 to 443? Thanks for your responses in advance.

None: logging not possible if exit command is part of the ini file

$
0
0
Hello, I am testing an automated test run. I am logging the output of the serial debug printf viewer. This is the content of the ini file that will work after closing the uvision GUI: g, main slog > test.log After executing the application, I can see that the log file gets created but it is empty. The only time that the log file will have its content written is when I close the uvison GUI. However, what I need is a fully automated test that should not requir

C166: Using 1N4148 As A Temperature Sensor (2 Replies)

$
0
0
Can I know which component senses heat or acts as heat sensor in the following circuit? In the given diagram, it is said that the 1N4148 diode acts as the sensor. But basically it is a zener diode and I don't think that it is able to sense temperature shift. This circuit provides a working model but the sensor remains as a mystery for me. Can you please help it for me? Here is the datesheet of 1N4148: http://www.componentschip.com/pdf/62-1N4148-TP.pdf

C251: Using a NE555 for 12V boost to 24V to power an amplifier (2 Replies)

$
0
0
I'm trying to draw a supply scheme for a class D integrated amplifier. It requires 21V to 24V power supply and about 6/7A of current at 24V. The input is a car battery: 10V to 14.4V. I've a few questions: Is the NE555 usable for this scope? How much output current this circuit have? If the answers to the first two are: "no" and "too low" can you suggest a circuit scheme that it's my case? EDIT: If you did not understand well, the sch

ARM: ARM Compiler 6.7: bug in size optimization? (1 Replies)

$
0
0
Source of main.cpp: typedef void (* fun_t)( void ); static const fun_t fun = [] { for (;;); }; int main( void ) { fun(); } Listing: ... Region$$Table$$Base Region$$Table$$Limit main ** Section #2 '.debug_frame' (SHT_PROGBITS) Size : 68 bytes ... Map file: ... Removing main.o(.text), (0 bytes). Removing main

None: Acoustic guiatr online

$
0
0
Acoustic guitar is one of the popular instrument for music world.Electronic Acoustic Guitar is one of them.If you are looking for buy electronic guitar online and intersted to know more branded and stylish guitar which is used by great guitarist this site gives you more information about popular acoustic guitars. http://buyacousticguitaronline.com/

ARM: Keil filesystem wit LFN support

$
0
0
Hi, I'm trying to create a small application that uses a LPC1768 and a SDCARD connected on SPI. I have selected all the necessary software components and I have created a small main function that mounts the file system and creates a file on SDCARD. Everything works, the SDCARD is initialized, the file and its content are created, except that the filename is converted to SFN even if the settings and the lib linked to uVision project is for LFN. Did anyone encountered this pr

None: What's the difference between Stack size and Max Depth?

$
0
0
for example: int the Static Call Graph file: SD_DMARxAbort (Thumb, 76 bytes, Stack size 16 bytes, stm32f7xx_hal_sd.o(i.SD_DMARxAbort)) [Stack] Max Depth = 128 Call Chain = SD_DMARxAbort ⇒ HAL_SD_GetCardState ⇒ SD_SendStatus ⇒ SDMMC_CmdSendStatus ⇒ SDMMC_GetCmdResp1 â&D

ARM: BUG with build system (2 Replies)

$
0
0
I found the bug in uVision v5 1. add a segment of code #ifdef XYZ ... #endif 2. make sure there is no preprocessor symbol XYZ 3. save all and rebuild 4. check code size 5. edit preprocessor symbol, add XYZ 6. click BUILD (F7) -> keil figured out that you changed compile options and it's doing what looks like a rebuild and not only build of changed files (showing that it's compiling all c files in project) 7. check code size, it's same as without symbol, the whole b

ARM: Absence of Coloring in Keil IDE

$
0
0
Hi everyone. My English not well sory. So far, I have used some of IDE such as Eclipse, Qt Creator that have code coloring skills. Unfortunately, in the Keil IDE, I did'nt see any coloring skills. For example in eclipse IDE , there is unused code coloring dynamically (I always need to use this). As instance; #define VAL #if defined(VAL) bla bla bla... // White colored by eclipse IDE #else bla bla bla... // Gry colored by eclipse IDE #endif Thus, I trace code three (inclu

ARM: Is there C unit testing feature with MDK-ARM 5 when working with Cortex-M firmware?

$
0
0
Hi, I have several ARM Cortex-M based boards such as Arduino DUE, Nordic's PCA10040 (nRF52-DK), STM32F4 discovery, and STM32L4 discovery. I use Keil uVision 5 (ARM-MDK, version 5.23.0) on my 64-bit Windows 7 and 10 desktops. http://asf.atmel.com/docs/3.15.0/uc3a/html/group__test__suite__group.html#gafe079e5f9f33764ff4df375a80adc6f1 Atmel Studio 7 provides a unit test framework for unit testing. Similarly, I want to test my C codes (mostly equal / non-equal assertions) w

ARM: Modifying a specific bit in a register (2 Replies)

$
0
0
Hello Everyone. It is so great to be with all MCU lovers at the same place .. I have just migrated from PIC mcus to STMs and I am quite excited with all these new stuff coming up every day , and everysecond I discover its new features .. I got one of those minimal system boards which is coming with STM32F103C8T MCUs and I was just trying to understand Keil and its access syntax to the MCU and its registers ... Here is my question ; Is there a very fast way of modif

ARM: ARM, help loading an address to a register

$
0
0
I have this code AREA datos, DATA, READWRITE long EQU 7*4 serie DCD 1, 2, 4, 6, 8, 7, 9 resul DCB 0 AREA prog, CODE, READONLY ENTRY mov r0, #0 eor r1, r1, r1 ;result variable ldr r2, =serie buc ldr r3, [r2, r0] add r1, r1, r3 add r0, r0, #4 cmp r0, #long bne buc ldr r2, =resul str r1, [r2] fin b fin END The problem is that in the instruction ldr r2, =serie I dont understand what its doing, I

ARM: I WANT TO LEARN ASSEMBLY CODING. AND AM GOING TO BUILD A PROJECT IN ARM7

$
0
0
HAPPY TO CODE IN ASSEMBLY LANGUAGE!

ARM: CC2640 (6 Replies)

$
0
0
Hi, I want to work on TI BLE STACK based on CC2640. Can you please let me know whether KEIL MDK-ARM is supported that CC2640? I couldn't able to find in both http://www.keil.com/dd/ & http://www.keil.com/dd2/ Looking forward for your reply. Ariyur

None: waveplayer and waverecorder files (1 Replies)

$
0
0
hi to everyone!I try to make a project stm32f4-discovery about audio player..i have one problem with waveplayer and waverecorder source files,which it must contain the programme to play correctly..â— waveplayer.c: implements the functions used for playback.â— waverecorder.c: implements the functions used for record. So when i set these libraries on my programm,then it doesnt show me the depedencies.So my programm has ma

None: Compile a .bin file in Keil

$
0
0
I'm trying to compile a binary file in Keil. I followed the instrudiction and added this to Options for Target - User - After Build/Rebuild C:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin --output=sps_device.bin out_580\sps_device.axf But a just get a folder called sps_device.bin. There're 5 files in (called ER_IROM1, ER_IROM2...). How get I one .bin file?

C51: Logging data using debugger

$
0
0
Hello, I want to log some physical data using debugger. I have added the variables where the values are loaded into a watch window. The values change continuously. Is there a possibility that i log the data into a file , with time stamp. I did some basic check on the web, looks there are two commands LOG and SAVE, but i understand none of them help in this regard. Thanks a lot in advance for any support on this topic.
Viewing all 3049 articles
Browse latest View live


Latest Images