I want to program STM32 using keil uVision on a macbook with an m2 processor. How to do it and is it possible at all? - stm32

I have keil uVision on Windows using Parallels. I have STM32(a lot of different) and ST-LINK. So, I want to firmware my program from a macbook with m2 processor. Can I do it?
I tried to find the drivers in the internet, but nothing works. If you can give me instructions on what to do, I will be very grateful to you.

Keil as you know is not supported on Unix platforms and as powerful as the MacBook is you cannot use it. However, you can use UTM software, and install Windows 11 for ARM from here:
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewARM64
You can then install Keil on the windows.
As a fellow MacBook user, I feel left out with Keil not being in support but we do have 2009 options such as Eclipse. Pair eclipse with brew and the terminal and you almost have a Keil experience.
Try out this video of the UTM, Windows 11 procedure:
https://www.youtube.com/watch?v=KGZMV8IuUtA

Related

How do I install gdb on a Macbook M1 to use it in Eclipse?

I am quite new to the programming world and am trying to learn some coding on Eclipse by following a guided self-study book.
For the course I should use Eclipse with gdb for debugging. Unfortunately I cannot get gdb working; I managed to follow the steps in this file (https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html) and everything worked, excpet for gdb to relaunch after quitting. So now I am quite clueless about how to proceed?
I also tried installing it via Homebrew, but when executing
brew install gdb
I get the message
gdb: The x86_64 architecture is required for this software. Error: gdb: An unsatisfied requirement failed this build.
I know that there are issues with gdb on Mac with M1 chip, but is there any way to resolve this? My computer knowledge isn't very good as for know, so I probably need quite a step-by-step guidance.
Thank you very much in advance!
GDB has not been ported to MacOS for the M1 (AArch64) architecture. The lldb debugger is available for MacOS on M1, you could consider using that debugger.

Linux Mint 19 - mirror iPhone

I have been doing some googling to figure out a way to mirror my iPhone in Linux Mint 19, using either USB or WiFi-direct (AirServer-ish).
I've been trying several work-arounds, e.g. Linux' Totem (Video player), using Wine to install QuickTime Player (and other mirror-apps for Windows).
I've also tried using Darling (a solution for installing Mac OS apps on Linux), but it seems like Darling doesn't work with Linux Mint 19.
I was wondering if anyone could give a, more or less, detailed tutorial on making it possible to mirror iPhone on Linux (Mint 19, that is). I have no trouble using a commercial solution (licensed mirroring apps).
I found a working solution - using Google Chrome. It costs 4.99$ though.
Follow this link for a detailed description on installing, and using "Mirror to Windows PC":
https://itunes.apple.com/us/app/mirror-to-windows-pc/id1350663974?mt=8

cx_freeze on MAC 10.9 Python 2.7.6 (32/64 bit)

I have developed an app on a Window PC using Python and wxPython. For the several weeks I have been trying to migrate it to a MAC mini running 10.9, Python 2.7.6 (32/64 bit) using the Eclipse IDE with PyDev. I was NOT a MAC user prior to about three weeks ago when I purchased a used Mac mini and started working on it. Due to the fact that wxPython is a 32-bit library only I am running Python in 32-bit mode out of Eclipse - this has worked well until now I am ready to attempt and produce a stand alone app via cx_freeze and I am hitting a problem that cx_freeze is building the bundle using the 64-bit Python and it will not work with my 32-bit wx_Python library.
My question is what can I do at this point in time? Obviously, if I had been smart I would have installed the 32-bit ONLY version of Python 2.7.6 (hind sight you know), but I did not. I have gone through all the write to /Library/Preferences/com.apple.python.preference file and setting environment variables only to learn that that does not apply except to Apple installs. One solution would be to install the 32-bit ONLY Python - scared I will mess my current development environment up so that is why I am asking here for help. Also, there may be a setting in cx_freeze to accomplish this too. Any help to a "green horn" MAC person would be greatly appreciated.

ADB, Samsung Epic 4G, Windows 7, Eclipse

I have searched a lot on the forums, and most similar questions seem to be primarily Windows XP issues.
I am using the latest versions of Eclipse, Jdk, Android Sdk, and Adt. I am trying to debug on my phone, a Samsung Galaxy 4G/SII.
I downloaded drivers from samsung, and they seem to install ok, but my computer blue screens right as the installer finishes.
Adb does not see the phone, and it also doesnt see my wifes HTC Evo shift. Neither device is recognized by adb from a command line, and neither will show up in the Android device chooser.
Any advice would be greatly appreciated.
What type of OS are you using? If you are using Windows XP which is 32-bit OS, there is little or nothing you can do as it doesnt contain all necessary libraries needed to run the current or recent SDK tools. You might have to install some patches to make it work, consult XP documentation manual for more solution on running SDK tools. I have it on my Windows 7, and it is working perfectly. I only need to connect my Samsung phone to my computer, and I am able to debug directly. I would rather advise that you upgrade your OS.

How to run legacy Mac code on a faster, remote machine?

We've inherited some legacy software that we need to run quite urgently. It was written in Lisp and we don't have the source code (developer is dead), only runs on Mac OS 9 (some bug seems to prevent it running on anything newer) and requires a license dongle to run.
We have an old machine that will run the software, but it is a dinosaur. Ideally, the solution would also provide for remote access as well.
My first thought was to use some kind of emulator on a newer machine, or even a VPS. But I have concerns about how these will work with the USB dongle. Can anyone suggest a solution better than accepting that working with old code sucks and getting on with it?
The most recent hardware I can think is a PowerPC Macintosh, with Mac OS X 10.4 (Tiger). It is the last version of Mac OS X to have the Classic Environment, that will let you run this legacy software.
Alternatively, if you don't have a PowerPC Mac in house, you can look into SheepShaver, a PowerPC emulator, however you'll need a Mac OS install CD.