From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.58.138 with SMTP id i10mr19661426ich.18.1410211529868; Mon, 08 Sep 2014 14:25:29 -0700 (PDT) X-Received: by 10.140.85.17 with SMTP id m17mr36776qgd.20.1410211529708; Mon, 08 Sep 2014 14:25:29 -0700 (PDT) Path: border1.nntp.dca1.giganews.com!nntp.giganews.com!uq10no11178835igb.0!news-out.google.com!i10ni2qaf.0!nntp.google.com!dc16no2187772qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Sep 2014 14:25:29 -0700 (PDT) In-Reply-To: <53efb9a8$0$32760$c3e8da3$dbd57e7@news.astraweb.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=79.90.149.196; posting-account=5cl6MQoAAAC0YjeJwkWFtst38PGPgW2r NNTP-Posting-Host: 79.90.149.196 References: <53efb9a8$0$32760$c3e8da3$dbd57e7@news.astraweb.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <31ae6ca5-08d7-40a9-8558-6400ea00413a@googlegroups.com> Subject: Re: GNAT SPARK:Embedded ARM Ada Project doesn't run in STM32F429 Discovery Board From: gnlnops@gmail.com Injection-Date: Mon, 08 Sep 2014 21:25:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: number.nntp.dca.giganews.com comp.lang.ada:188918 Date: 2014-09-08T14:25:29-07:00 List-Id: Hi, If you are interested I perform the port of Ada runtime library and the demo_leds example. As Jerry wrote the RCC module is a little bit different on the STM32F42x and the origin of the problem came from the voltage scaling operation during initialization. The main modifications were: - PLL configuration, - Add of the 9 new interrupt sources, - Link command files, - USART1 configuration update (from GPIOB to GPIOA). For recall the pins are: - LED3: PG13, - LED4: PG14, - USART1_TX: PA9, - USART2_RX: PA10. The LEDs and user button work correctly but I do not test the USART1 yet because I have no TTL<->RS232 converter. The files are available on GitHub: https://github.com/gnlnops/gnat-stm32f429i-disco Regards, Gnops