Tuesday, July 25, 2023

Math olympiad

 “In terms of Olympiad Math, I am mostly self-taught. Ever since grade 10, I have been doing Olympiad Math, through the Art of Problem Solving website, classes on the Online Math Club and handouts by Evan Chen, a past Olympiad medallist. I won a gold medal and placed 12th overall in this year’s event,” said Atul.

He got a perfect score of 1600 on the SAT last year and he will be continuing my future studies, doing Mathematics and Computer Science at the Massachusetts Institute of Technology, USA. “I am also the director of the Sophie Fellowship, an initiative to prepare Indian students for Math Olympiads by showing them its beauty. With this, I also hope to reach out to more students in India, most of who are unaware of the prospects mathematics holds as a career,” he added.“In terms of Olympiad Math, I am mostly self-taught. Ever since grade 10, I have been doing Olympiad Math, through the Art of Problem Solving website, classes on the Online Math Club and handouts by Evan Chen, a past Olympiad medallist. I won a gold medal and placed 12th overall in this year’s event,” said Atul.

He got a perfect score of 1600 on the SAT last year and he will be continuing my future studies, doing Mathematics and Computer Science at the Massachusetts Institute of Technology, USA. “I am also the director of the Sophie Fellowship, an initiative to prepare Indian students for Math Olympiads by showing them its beauty. With this, I also hope to reach out to more students in India, most of who are unaware of the prospects mathematics holds as a career,” he added.


Wednesday, May 31, 2023

ProSolutions

Problem 1:

When testing sending serial text file through terminal, the serial task id is changed with idle task. I doubted that any interrupt occurs inside the critical section.

Solution: Inside the SVC, interrupt occured. The SVC priority setting was wrong. Instead of higher priority, lowest priority was set. So, interrupt occured inside. Just check any changed done in code.


Problem 2:

When _dispatch? function is step-executed using EWARM in Cortex-M0+ kernel till the end of the function and run, hardfault exception occurs.

Solution: The Cortex-M0+ kernel is using PendSV and the exception does not jump to PendSV_Handler while step-executing even when PendSV request is pending. When you run, the PendSV occurs in unexpected location and the PendSV handler performs the context switch and returns assuming the original location, the register values might have corrupted. So, excetion occurs. Thus, this does not mean the software issue, instead the debugger setting maybe, to allow branching to PendSV handler immediately.

Problem 3:

Abort at the entrance of MainTask in Arm. There are no specific instructions causing them.

Solution: Acutally, in the CPSR, the A flag which Disables the Asynchronous Aborts has delayed the abort exception from the actual location of abort. So, try to Make the A flag to 0 at starting of the program, so that you can find the exact location and cause. In Cortex-A52, the master MPU program needs to be done from CPU0. Since I tried to program it in CPU1, it caused it. But, since inside the kernel, the A flag was 1, it did not occur there. Once entered MainTask with A flag 0, it caused exception.

Problem 4:
I was trying to FPGA program the Agilex 7 F series evaluation board. But, it failed.

Solution: Installed the Agilex 7 device support. After that I could program the FPGA using the board test software (BTS) provided .sof files. But, not my own .sof. Because when looking at the design provided by FPGA design store, it was for another board of same Agilex 7 F device. Look carefully at the board type.

Problem 5:
When debugging Nios V, the exeuction goes to Enviornment call easily, though there is no interrupt enabled at that point.

Solution: Do not doubt the interrupt. That means it is exception. Please check mepc register to know about from where the exception occurred.

Monday, October 3, 2022

Cortex-M Hardfault exception Debug

 https://interrupt.memfault.com/blog/cortex-m-fault-debug

Some of the things found when using CubeIDE with nasam.

1) No Timer Interrupt/ No branch to task

As the vector table and remapped vector table are same and vector table is placed in ROM, the define interrupt function does not register the Timer interrupt.

Since some other function svc handler was linked without using yours, the SVC which is used to branch was not at all working


2) After using miine, there was an exception.

Since the `type` property of function was not used in the assembly, the SVC hander was not added +1 for Thumb mode. So, after jumping there, the Hardfault hander was raised.


Sunday, September 4, 2022

Consultancy services

A trusted consultant and service provider for business engagement and tourism in Tamil Nadu and Pondicherry region.

Services on business engagement:
・Company Registration
( 法人登記)
・(Virtual) Office setup
(  バーチャルオフィス )  
・Shared (Plug And Play) Office
(  シェアオフィス )  
・Logistics
(  ロジスティクス )  
・Import and Export
(  輸入/輸出 )  
・Business Partnership
(  ビジネスパートナーシップ )  

Services on Tourism:
・Luggage Handling
(  荷物扱い )  
・Luggage/Baggage Storage
(  手荷物預り )  
・Accommodation Arrangement
(  日本語が話せる宿泊施設 )  
・Airport Reception/Pick-up
(  空港お迎え )  
・Introductory Lessons for first time tourist
(  初めてのご旅行者にご紹介レッスン )  
・Tour guidance
(  ツアーご案内  )  
・Remote Tour Guidance
(  リモートでお客様サポート )  
・Refresh cafe
(  到着後・出発前にリフレッシュできるカフェ )  

Technology Services:

・Embedded Development
 (  組み込み開発)
・Japanese Translation and Interpretation
 ( 日本語翻訳、通訳)
・Technical Support
  ( 技術サポート)
・Distributor
  (販売代理店)

We endeavor to create a better friendly and trusted India.

Sempori Consulting - Mannivakkam

A trusted organisation for training Engineers on developing Software, Firmware, Middleware and Real-Time Operating Systems for Embedded Systems.

Special features of our training:

・Acquire hands-on experience in developing software for various CPU architectures such as Arm, PowerPC, MIPS, RX, SuperH, H8 and MicroBlaze

・Learn programming on Intel and Xilinx FPGA platforms

・Work on various evaluation boards from NXP, Renesas, Texas Instruments, Intel, ST Microelectronics, Toshiba and Xilinx.

・Work with industry grade networking and communication protocol stacks such as TCP/IP, IPv6 and USB stacks.

・Develop device drivers for various controllers such as Ethernet, USB, I2C, UART and so on.

・Develop application using various middleware such as HTTP, Filesystem, SNMP and Mailsystem.

・Learn security protocols such as SSL, SSH and cryptography.

・Learn porting of Real-Time Operating Systems such as FreeRTOS, μITRON to different CPUs.

・Acquire the skills to develop Operating Systems and Board Support Packages(BSP) from scratch.

・Develop platforms for latest technologies such as IoT.

・Work with different compilers and IDEs.


組み込みシステムズ専用ソフトウェア、ミドルウェア、ファームウェア、リアルタイムオペレーティングシステムの開発、および、トレーニングに実績がある会社です。

トレーニングの特徴:

・Arm、PowerPC、MIPS、RX、SuperH、H8、MicroBlazeなど、様々なCPUアーキテクチャのソフトウェア開発の実務経験を積むことができる。

・インテルや、ザイリンクスのFPGAプラットフォームでのプログラミングを学ぶ。

・NXP, Renesas, Texas Instruments, Intel, ST Microelectronics, Toshiba, Xilinx製各種評価ボードで作業する。

・TCP/IP、IPv6などの業界標準のネットワーク、通信プロトコルスタック作業する。

・Ethernet、USB、I2C、UARTなどの各種コントローラ用デバイスドライバの開発を学ぶ。

・HTTP、Filesystem、SNMP、Mailsystemなどの各種ミドルウェアを使用したアプリケーションを開発することができる。

・SSL、暗号などのセキュリティプロトコルを習得する。

・FreeRTOS、μITRONなどのリアルタイムOSの異なるCPUへの移植を学ぶことができる。

・OSやBSPをゼロから開発するスキルを身につける。

・IoTなどの最新技術に対応したプラットフォームを開発する。

・様々なコンパイラやIDEを使いこなすことができる。