I was recently testing memory constraints of the Playdate to try and configure my own memory management stuff appropriately and I discovered that the Map tab of the Malloc Log window does not behave at all like it does on Mac.
I set up a simple test game where I can press a button to allocate 64kB of memory and clear it to 0xDD so I can test what this tab looks like at various amounts of usage. As far as I can tell, the visualization does not change almost at all, not matter how much memory I am using. This is with "Automatically Refresh" being turned on (and clicking the refresh button occasionally to be sure).
Also nothing in the simulator seems to complain if I go over 16MB of memory usage. All of my allocations are going through pd->system->realloc so they are getting tracked (hence why the number in the bottom right changes). I have noticed the "Heap Used" number doesn't seem to change much either. Maybe that's related? Or maybe I don't understand what it's supposed to indicate. Also I'm on SDK 2.1.1 (latest)
Probably not incredibly helpful, but maybe some additional questions can help shed some more light on this. I'm developing on Mac where it works but do have access to a Windows machine, so will attempt to test this.
Hmm, there's definitely something more nuanced going on. Try changing your allocation to something much larger, like 256kB at a time. You'll find that the map tab of the malloc log window does not show the same sort of growth. Also the "Active" value grows much quicker while the "Heap Used" value doesn't seem to change at all. In my case, I have a memory allocator that only allocates 256kb pages at a time and then manages the memory inside those pages internally. So I was never making any small allocations to pd->system->realloc directly
Tested 256, works fine. As long as the heap value is incrementing the map table fills. If you could work up an example that shows exactly what you're doing that would be most helpful. Are you double sure you're not calling malloc directly someplace (instead of pd->system->realloc())? Are you using some library that may be calling it?
I'm curious, was the problem something to do with that specific size of allocation? Or was it allocations over a particular size? The more I looked into this, the more I was surprised it was breaking for only the very specific size of allocation I was doing
The allocation tracker, when run on Windows, has slightly different behavior when an allocation would fail that was then turning around and allocating blocks when it shouldn't have been. There was also a size threshold which would trigger this different path as well. Both of these paths are now (correctly) disabled on Windows.
Yes, Malloc Pool didn't correctly work before 2.3 on Windows and would allow you to allocate memory beyond the 16 MB limit. I'm not sure why it was working on device, but I would look into this further. Looks like you're right up against the limit.
Your logging shows the network interface opened but there is no IP address set yet. Do you have ipconfigUSE_DHCP set to 1? If so try taking a wireshark log of network traffic to see if the DHCP request is seen on the wire.
12 6608 [OTA Demo Task] [ERROR] [TlsTransport] [TLS_FreeRTOS_recv:800] vAssertCalled( C:\FreeRTOSv202112.00\FreeRTOS-Plus\Demo\AWS\Ota_Windows_Simulator\Ota_Over_Mqtt_Demo\DemoTasks\OtaOverMqttDemoExample.c, 1427
Failed to read data: mbedTLSError= SSL - The peer notified us that the connection is going to be closed : .
As a tip to anyone who might struggle to get the demo going; make sure to test your certificates first to verify they are good to make the MQTT connection. To verify, install the MQTT Explorer windows client and tryout your certificates and private key before using them in the FreeRTOS OTA windows demo.
Previous commentators have noted the simulator's tendency to send attacks in a single wave. This can lead to a comment from one recipient warning another. Additionally, the wave may overwhelm local IT support.
To my mind it makes sense to split a large recipient base up into slices to be attacked at different times and possibly with minor variations in the payload. I had been looking at dynamic groups to do this.
Am I correct in saying no type of dynamic group is acceptable to the attack simulator? I have tried the new Microsoft 365 groups, but with the group features suppressed to prevent the group itself from mailing, the simulator will not mail the membership either.
hi does anyone out there know how to install ms2004 0n a Windows 11 laptop
I have an Alienware R5 with window 11
no cd drive
is there a copy to purchase online so I can download it
any advice would be much appreciated
Getting Microsoft Flight Simulator 2004 up and running on newer hardware, especially without a CD drive, can be a touch finicky, but it's definitely doable. Let's break down the steps to get you airborne.
Lastly, if you're passionate about flight simulators and considering a switch in the future, both Microsoft Flight Simulator (released in 2020) and X-Plane 12 are excellent choices that cater to modern systems and offer a vast array of features and enhancements.
I have the FS 2004 discs and I am trying to run on Windows 11, but having no success. I followed the steps you listed above but to no avail. The program will not launch. Any help would be greatly appreciated!!
If the question and answers provided above do not answer your specific question - why not ask a new question of your own? Our community and flight simulator experts will provided a dedicated and unique answer to your flight sim question. And, you don't even need to register to post your question!
Be sure to search for your question from existing posted questions before asking a new question as your question may already exist from another user. If you're sure your question is unique and hasn't been asked before, consider asking a new question.
I installed Flight Simulator 2004 on my new laptop, running Windows 10. However the program does not open if CD4 is in the drive (or not), not even if I try "Open as administrator". I installed the "nocd" fix downloaded from Flyawaysimulations, but st...
Can anyone provide a detailed guide on installing the two-disc version of Combat Flight Simulator 3 on a system running Windows 11? Additionally, are there specific compatibility settings or additional steps necessary to ensure smooth operation? What are ...
hi i just got a new laptop and tryed to put flight simulator 2004 when i put the 3rd disc in it says there is an error on the disc or your hard drive may be full so i tryed 2002 and the it told me the same thing i have a avent 6001 with 1024 menery and a ...
And also, can you check your Windows Event Log to see if there's anything suspicious there? It could be an issue with Windows 10 an SDL2 which we use in the simulator. It works on all our Windows 10 machines here, so we need to track down a specific configuration issue.
That's a great tip for other users. It's definitely not a problem for all Windows 10 users, but for those that have this problem turning off the game-bar could solve it. Since we're just running the simulator, the ST-software or drivers shouldn't have an impact on this, in theory.
Could you share more about the nature of this "windows error"? Seeing as there's nothing in the log files. Come to think of it, i've seen it before where the Simulator would start and then shut down, but with no visible exceptions or errors.
it seems to be, that clean Windows 10 installations cause this problem. Clean means all the stuff that is not important for using the OS is removed from the system. Especially the X-Box tools are seemingly guilty.
LTspice is a powerful, fast, and free SPICE simulator software, schematic capture and waveform viewer with enhancements and models for improving the simulation of analog circuits. Its graphical schematic capture interface allows you to probe schematics and produce simulation results, which can be explored further through the built-in waveform viewer.
Learn how to use LTspice with our tutorials below or dive deeper with our selection of helpful tips and articles. You can also browse our library of macromodels and demo circuits for select Analog Devices products.
Learn how to perform a basic AC analysis in LTspice as well as some capabilities you might not already know about. Also learn how to set up a noise simulation in LTspice to view both input and output referred voltage noise.
The key to most circuit designs is the speed with which you can reach an understanding of your circuit, its correctness, and its limitations. LTspice outperforms many other simulation tools and enables you to iterate your designs in minimal time.
A week (or two) later I changed something in my connect IQ code (now SDK 3.0.12 but same issue for 3.0.11, 3.0.10 and 3.0.3) and tried to start the app in the simulator and got the message "Failed to connect to the simulator" in eclipse. I did not found any error log or anything else where I maybe can find what went wrong.
[10:26:50.85] d:\eclipse_3.0.x>connectiq-sdks\connectiq-sdk-win-3.0.11-2019-4-30-cd45859\bin\simulator.exe->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0Unable to connect to an ANT device; no devices available
*Please* report back what you find, or if you get it working. We occasionally hear about issues like this, but are almost never able to reproduce, so any hint about what is happening would be very useful to us.
->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0->message processor init on channel 0Unable to connect to an ANT device; no devices available
c80f0f1006